pybloomfiltermmap

使用 Mmap 的快速 Python Bloom 过滤器。「Fast Python Bloom Filter using Mmap」

Github星跟蹤圖

pybloomfiltermmap Build Status

The goal of pybloomfiltermmap is simple: to provide a fast, simple, scalable,
correct library for Bloom Filters in Python.

Docs

See http://axiak.github.com/pybloomfiltermmap/.

Overview

After you install, the interface to use is a cross between a file
interface and a ste interface. As an example:

>>> fruit = pybloomfilter.BloomFilter(100000, 0.1, '/tmp/words.bloom')
>>> fruit.update(('apple', 'pear', 'orange', 'apple'))
>>> len(fruit)
3
>>> 'mike' in fruit
False
>>> 'apple' in fruit
True

Install

You may or may not want to use Cython. If you have it installed, the
setup file will build the C file from the pyx file. Otherwise, it will
skip that step automatically and build from the packaged C file.

To install:

$ sudo python setup.py install

and you should be set.

License

See the LICENSE file. It's under the MIT License.

主要指標

概覽
名稱與所有者axiak/pybloomfiltermmap
主編程語言C
編程語言Python (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2010-04-02 18:49:47
推送於2019-11-04 22:11:33
最后一次提交2015-09-23 22:14:31
發布數6
最新版本名稱release/0.3.12 (發布於 )
第一版名稱release/0.1.20 (發布於 2010-12-21 20:27:30)
用户参与
星數743
關注者數47
派生數136
提交數106
已啟用問題?
問題數68
打開的問題數28
拉請求數10
打開的拉請求數7
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?