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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?