devel/py-bitarray 3.11.0 NetBSD
Efficient arrays of booleans
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
d24dd4b882- License
- python-software-foundation
- Categories
- devel, python
- Package size
- 294.7 KiB, 2203.1 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-bitarray | 3.11.0 |
| FreeBSD | devel/py-bitarray | 3.8.2 |
| OpenBSD | devel/py-bitarray | 3.12.2 |
| DragonFly | devel/py-bitarray | 2.8.1_1 |
Install
Binary package:
pkgin install py311-bitarray
From pkgsrc:
cd /usr/pkgsrc/devel/py-bitarray && make install clean
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-bitarray-3.11.0,py313-bitarray-3.11.0,py314-bitarray-3.11.0