Bitarray

Latest version: v3.0.0

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

Scan your dependencies

Page 14 of 17

0.8.0

-------------------
* add Python 2.4 support
* add (module level) function bitdiff for calculating the difference
between two bitarrays

0.7.0

-------------------
* add iterdecode method (C level), which returns an iterator but is
otherwise like the decode method
* improve memory efficiency and speed of pickling large bitarray objects

0.6.0

-------------------
* add buffer protocol to bitarray objects (Python 2.7 only)
* allow slice assignment to 0 or 1, e.g. `a[::3] = 0` (in addition to
booleans)
* moved implementation of itersearch method to C level (Lluis Pamies)
* search, itersearch now only except bitarray objects,
whereas `__contains__` excepts either booleans or bitarrays
* use a priority queue for Huffman tree example (thanks to Ushma Bhatt)
* improve documentation

0.5.2

-------------------
* fixed MSVC compile error on Python 3 (thanks to Chris Gohlke)
* add missing start and stop optional parameters to index() method
* add examples/compress.py

0.5.1

-------------------
* update documentation to use tobytes and frombytes, rather than tostring
and fromstring (which are now deprecated)
* simplified how tests are run

0.5.0

-------------------
* added itersearch method
* added Bloom filter example
* minor fixes in docstrings, added more tests

Page 14 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.