python-bloomfilter
python-bloomfilter copied to clipboard
Scalable Bloom Filter implemented in Python
Hello. Is there a way to load a Bloom Filter from bytes instead of loading from a file? The advantage is that we do not need to download a file...
I want to remove some elements, so next time add(them) will return false. is there inner function to do this?
Due to the update of bitarray(refer [HERE](https://github.com/ilanschnell/bitarray/blob/master/CHANGE_LOG)) > 2021-04-14 2.0.0: > * remove `.length()` method (deprecated since 1.5.1 - use `len()`) the codes in `fromfile` method update with `len()` instead...
Getting an exception using this library... ``` ... File "/home/adam/v/tf/evenly/ws2/app/bloom.py", line 25, in get_bloom_filters green_bloom = ScalableBloomFilter.fromfile(infile) File "/home/adam/v/tf/evenly/ws2/buildout/eggs/pybloom_live-3.0.0-py3.7.egg/pybloom_live/pybloom.py", line 368, in fromfile filter.filters.append(BloomFilter.fromfile(f, fl)) File "/home/adam/v/tf/evenly/ws2/buildout/eggs/pybloom_live-3.0.0-py3.7.egg/pybloom_live/pybloom.py", line 216, in...
salts = tuple(hashfn(hashfn(pack('I', i)).digest()) for i in range_fn(num_salts)) why do I need to hash twice,we only use it once and can get the same result.
A website has tens of thousands or more urls after rendering, and these urls are hierarchical. If the url of the previous level is judged to be repeated, then its...
There is a small typo in README.rst. Should read `implementation` rather than `implmentation`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
I can't install pybloom on pip3
When doing the install, the following error is obtained. `ERROR: Complete output from command python setup.py egg_info: ERROR: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-iwa1sif6/pybloom/setup.py",...