File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- pybloom
2- =======
1+ # pybloom
32
4- This fork includes various fixes and enhancement available in various places.
3+ [ ![ Python package ] ( https://github.com/adulau/python-bloomfilter/actions/workflows/pythonpackage.yml/badge.svg )] ( https://github.com/adulau/python-bloomfilter/actions/workflows/pythonpackage.yml )
54
6- .. image :: https://travis-ci.org/jaybaird/python-bloomfilter.svg?branch=master
7- :target: https://travis-ci.org/jaybaird/python-bloomfilter
5+ This fork includes various fixes and enhancement available in various places.
86
97`` pybloom `` is a module that includes a Bloom Filter data structure along with
108an implementation of Scalable Bloom Filters as discussed in:
@@ -22,8 +20,16 @@ is reached a new filter is then created exponentially larger than the last
2220with a tighter probability of false positives and a larger number of hash
2321functions.
2422
25- .. code-block :: python
23+ ## Installation
24+
25+ ~~~~
26+ pip3 install -r requirements.txt
27+ pip3 install .
28+ ~~~~
2629
30+ ## Usage
31+
32+ ~~~~ python
2733 >> > from pybloom import BloomFilter
2834 >> > f = BloomFilter(capacity = 1000 , error_rate = 0.001 )
2935 >> > [f.add(x) for x in range (10 )]
@@ -62,3 +68,5 @@ functions.
6268 # len(sbf) may not equal the entire input length. 0.01% error is well
6369 # below the default 0.1% error threshold. As the capacity goes up, the
6470 # error will approach 0.1%.
71+
72+ ~~~~
You can’t perform that action at this time.
0 commit comments