Path to this page:
./
devel/py-bitarray,
Efficient arrays of booleans
Branch: pkgsrc-2021Q2,
Version: 2.1.2,
Package name: py38-bitarray-2.1.2,
Maintainer: pkgsrc-usersThis 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.
Master sites:
SHA1: 091c8d3a2b3b7a18ab1ea255326115f6122492a4
RMD160: 5c00d0832d4834b7317f145280f38c5a6d04755a
Filesize: 70.83 KB
Version history: (Expand)
- (2021-07-01) Package added to pkgsrc.se, version py38-bitarray-2.1.2 (created)