devel/py-intbitset 4.1.2 FreeBSD
C-based extension implementing fast integer bit sets
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL3
- Categories
- devel, python
- Package size
- 65.3 KiB, 215.3 KiB installed
Description
The intbitset library provides a set implementation to store sorted unsigned integers either 32-bits integers or an infinite range with fast set operations implemented via bit vectors in a Python C extension for speed and reduced memory usage.
The inbitset class emulates the Python built-in set class interface with some additional specific methods such as its own fast dump and load marshalling functions.
intbitset additionally support the pickle protocol, the iterator protocol and can behave like a sequence that can be sliced. Because the integers are always stored sorted, the first element of a non-empty set [0] is also the min() integer and the last element [-1] is also the max() integer in the set.
When compared to the standard library set class, intbitset set operations such as intersection, union and difference can be up to 5000 faster for dense integer sets.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-intbitset | 4.1.2 |
| DragonFly | devel/py-intbitset | 4.0.0_1 |
Install
Binary package:
pkg install py312-intbitset
From the ports tree:
cd /usr/ports/devel/py-intbitset/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-intbitset>0:devel/py-intbitset
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.1.2 | 4.1.2 | 3.0.1 | 4.0.0_1 | 4.1.2 |
| FreeBSD:14:quarterly | 4.1.2 | 4.1.2 | n/a | 4.0.0_1 | 4.1.2 |
| FreeBSD:15:latest | 4.1.2 | 4.1.2 | n/a | 4.0.0_1 | 4.0.0_1 |
| FreeBSD:15:quarterly | 4.1.2 | 4.1.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.1.2 | 4.1.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| intbitset-4.1.2.tar.gz | 205398 | f82fafe0bcb4fe7a010d942099b5a84d721d37c897538ed632f788962c1411f8 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.