moolb

Bloom filter for python3 with pluggable hasher backend
git clone git://git.defalsify.org/python-moolb.git
Log | Files | Refs | README | LICENSE

commit c4615a40f47c8baa710dbb8c54e0e6d07901f1e7
parent a5aedfb5514f9f668b4de0037cc9d8fd5a1818b4
Author: nolash <dev@holbrook.no>
Date:   Fri, 30 Oct 2020 10:40:50 +0100

Add numpy dep to setup file

Diffstat:
ACHANGELOG | 5+++++
MREADME.md | 2++
Mmoolb/moolb.py | 3++-
Msetup.py | 4+++-
4 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -0,0 +1,5 @@ +- 0.0.2 + * Add numpy to deps +- 0.0.1 + * Add and check + * Make hash backend pluggable diff --git a/README.md b/README.md @@ -1 +1,3 @@ # Moolb - simple bloom filter with pluggable hash backend + +See tests for usage diff --git a/moolb/moolb.py b/moolb/moolb.py @@ -1,8 +1,9 @@ -import numpy import hashlib import logging import math +import numpy + logging.basicConfig(level=logging.DEBUG) logg = logging.getLogger() diff --git a/setup.py b/setup.py @@ -6,13 +6,15 @@ f.close() setup( name='moolb', - version='0.0.1', + version='0.0.2', description='Simple bloom filter with pluggable hash backend', author='Louis Holbrook', author_email='dev@holbrook.no', license='GPL3', long_description=long_description, long_description_content_type='text/markdown', + install_requires=[ + 'numpy>=1.19.0', packages=[ 'moolb', ],