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 0000004369 4.27 KB
python-bitarray.spec 0000002504 2.45 KB
Latest Revision
Wolfgang Engel's avatar Wolfgang Engel (bigironman) committed (revision 1)
osc copypac from project:openSUSE:Leap:15.2 package:python-bitarray revision:1, using expand
Comments 0
openSUSE Build Service is sponsored by