axiak/pybloomfiltermmap has 744 GitHub stars and 134 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-25 05:04 UTC. Last push 2019-11-04.
計測したスター増加
- 24時間
- 0
- 7日間
- -1
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
Mmapを使った高速なPython製ブルームフィルター
開発ツールREADME.md
オリジナルpybloomfiltermmap 
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.
関連プロジェクトを探す
読み込み中…