Implementation of integer relations based on roaring bitmaps.
Project description
This library implements as low-level mutable data structure to store a finite relation between finite sets:
\begin{equation*} R \subseteq X_1 \times ... \times X_n \end{equation*}
It presumes that the component sets \(X_1,...,X_n\) are finite zero-based contiguous integer ranges, in the form \(X_j = {0,...,s_j-1}\). The tuple \((s_1,...,s_n)\) of component set sizes is referred to as the shape of the relation \(R\), while the tuples \((x_1,...x_n) \in R\) are referred to as its entries.
Relations are implemented using a 64-bit roaring bitmaps. to store the underlying set of entries.
Install
You can install the latest release from PyPI as follows:
$ pip install roaringrel
Usage
For an overview of library features and usage, see https://roaringrel.readthedocs.io/en/latest/getting-started.html
API
For the full API documentation, see https://roaringrel.readthedocs.io/
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file roaringrel-1.0.0.post1.tar.gz.
File metadata
- Download URL: roaringrel-1.0.0.post1.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
798a7f83aded336ce5bc9b7b778fc60a0b8190be9b5f10bb818a615657fe9dd8
|
|
| MD5 |
6fbb842481a729f4a2bf6ec613f6469c
|
|
| BLAKE2b-256 |
9416e9236d0eb49e7c7457652c428e2701ba5cc908a31102cc9e3be5a40af1a5
|
File details
Details for the file roaringrel-1.0.0.post1-py3-none-any.whl.
File metadata
- Download URL: roaringrel-1.0.0.post1-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5161d0b309a968a61ecc0b389d29d43ba07a8731ba7c575650d3d83578f5b3de
|
|
| MD5 |
737538173ec4e337a8fe2efe2467e6c9
|
|
| BLAKE2b-256 |
b934ffd21074094e6d7d23fe96da98326e53c1b1255ed97f109598a1a468f8f3
|