pybloomfiltermmap

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

Github stars Tracking Chart

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.

Overview

Name With Owneraxiak/pybloomfiltermmap
Primary LanguageC
Program languagePython (Language Count: 3)
Platform
License:MIT License
Release Count6
Last Release Namerelease/0.3.12 (Posted on )
First Release Namerelease/0.1.20 (Posted on 2010-12-21 20:27:30)
Created At2010-04-02 18:49:47
Pushed At2019-11-04 22:11:33
Last Commit At2015-09-23 22:14:31
Stargazers Count740
Watchers Count49
Fork Count138
Commits Count106
Has Issues Enabled
Issues Count68
Issue Open Count28
Pull Requests Count10
Pull Requests Open Count7
Pull Requests Close Count5
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top