Metadata-Version: 1.2
Name: pybfilter
Version: 0.1
Summary: python3 Bloom Filter
Home-page: https://github.com/imagecser/pybfilter
Author: Zhi Sun
Author-email: zhi.suun@gmail.com
License: UNKNOWN
Description: pybfilter

        =========

        `pybfilter` is a module that include a Bloom Filter data structure.

        

        A Bloom filter is a space-efficient probabilistic data structure that is used to test whether an element is a member of a set.

        

        usage

        -----

        

        >>> import pybfilter

        >>> bf = pybfilter.BloomFilter(n=1000, error=0.01)

        >>> bf.add(1)

        True

        >>> bf.add(1)

        False

        >>> 1 in bf

        True

        >>> 2 in bf

        False

        

        
Keywords: Bloom Filter
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3
