Pybloomfiltermmap3

Latest version: v0.5.5

Safety actively analyzes 621825 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.5

Fixes
^^^^^
- Bad upload to PyPI (which is yanked). Everything else is the same as `0.5.4`.

0.5.4

Fixes
^^^^^
- Add a special case for `bytes` objects in the filter. Fixes the serialization issues when loading the filter.

Added
^^^^^
- Added `BitCount` to get approximate count of elements in the set. (xyb)
- Added :meth:`BloomFilter.approx_len` and :meth:`BloomFilter.bit_count` properties.

Changes
^^^^^^^
- Calling `len(bloomfilter)` now reports approximate element count if any set union or intersection was performed.

0.5.3

Fixes
^^^^^
- Fixed a long standing issue where Bloom filter length would not get reset after calling `clear_all()`
- Added C99 compatibility for `MurmurHash3.c` as pybloomfilter would fail on some systems such as Alpine

Changes
^^^^^^^
- Release tooling (uploads tagged releases to pypi).

0.5.2

Changes
^^^^^^^
- Python setup will now always try to use and build from Cython, if the module is available in the current environment.
To force cythonize, use "--cython". If the module is not available and no "--cython" was used, the setup
will look for a bundled Cython source.

0.5.1

Changes
^^^^^^^
- Add :meth:`BloomFilter.bit_array` property for bit vector representation
- Add :meth:`BloomFilter.filename` property and issue a PendingDeprecationWarning when using :meth:`BloomFilter.name`
- Do memset after initializing BloomFilter instance to set alignment bytes to 0 prior to populating the filter (see notes in 24)
- Remove ``mode`` parameter from :meth:`BloomFilter.from_base64` method introduced in 0.5.0 as part of a refactoring (see notes in 23)
- Add explicit flag to build using Cython when building or installing a package; setup looks for a bundled Cython
source by default (included in the PyPI distribution package)

0.5.0

Changes
^^^^^^^
- Add support for read-only Bloom filter files
- Add customization of hash seeds for hashing algorithms
- Drop Python < 3.5 support

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.