./devel/py-bitarray, Efficient arrays of booleans

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q1, Version: 1.8.0, Package name: py38-bitarray-1.8.0, Maintainer: pkgsrc-users

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.


Master sites:

SHA1: 638e88da186a79905e12be54041648f42657146a
RMD160: 79a07e63cc81a098f09f328893a4a4a7686f3072
Filesize: 60.067 KB

Version history: (Expand)