axiak/pybloomfiltermmap
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.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Mmap을 사용하는 고속 Python 블룸 필터
개발 도구README.md
Originalpybloomfiltermmap 
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.
관련 프로젝트 살펴보기
불러오는 중…