Efficient Arrays of Booleans

Edit Package python-bitarray
https://github.com/ilanschnell/bitarray

This module provides an object type which efficiently represents an
array of booleans. Bitarrays are sequence types and behave very
much like usual lists. Eight bits are represented by one byte in a
contiguous block of memory. The user can select between two
representations; little-endian and big-endian.
All of the functionality is implemented in C. Methods for accessing
the machine representation are provided. This can be useful when
bit level access to binary files is required, such as portable
bitmap image files (.pbm).
Also, when dealing with compressed data which uses variable bit
length encoding, you may find this module useful.

Refresh
Refresh
Source Files
Filename Size Changed
bitarray-1.2.1.tar.gz 0000061675 60.2 KB
python-bitarray.changes 0000004239 4.14 KB
python-bitarray.spec 0000002660 2.6 KB
Revision 2 (latest revision is 17)
Martin Hauke's avatar Martin Hauke (mnhauke) committed (revision 2)
- Update to version 1.2.1
  * simplify markdown of readme so PyPI renders better
  * make tests for bitarray.util required (instead of warning when
    they cannot be imported)
- Update to version 1.2.0
  * add bitarray.util module which provides useful utility functions
  * deprecate `bitarray.bitdiff` in favor of `bitarray.util.count_xor`
  * use markdown for documentation
  * fix bug in .count() on 32bit systems in special cases when array size
    is 2^29 bits or larger
  * simplified tests by using bytes syntax
  * update smallints and sieve example to use new utility module
  * simplified mandel example to use numba
  * use file context managers in tests
- Update to version 1.1.0
  * add frozenbitarray object
  * add optional start and stop parameters to .count() method
  * add official Python 3.8 support
  * optimize setrange() C-function by using memset
  * fix issue #74, bitarray is hashable on Python 2
  * fix issue #68, `unittest.TestCase.assert_` deprecated
  * improved test suite - tests should run in about 1 second
  * update documentation to use positional-only syntax in docstrings
  * update readme to pass Python 3 doctest
  * add utils module to examples
- Specfile cleanup
- Run testsuite
Comments 0
openSUSE Build Service is sponsored by