Skip to main content

Implementation of integer relations based on roaring bitmaps.

Project description

Python versions PyPI version PyPI status Checked with Mypy Documentation Status

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

LGPLv3 © Hashberg.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roaringrel-1.0.0.post0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roaringrel-1.0.0.post0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file roaringrel-1.0.0.post0.tar.gz.

File metadata

  • Download URL: roaringrel-1.0.0.post0.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

Hashes for roaringrel-1.0.0.post0.tar.gz
Algorithm Hash digest
SHA256 ac372a47882ce28b92691a8c0ed5536e315287a8aabca3a1ea18172f9fd4fc0c
MD5 da98b614e3d5c81e268ec1b5b798a5dd
BLAKE2b-256 309d07f7925826ff9465746d73b7b46aa5ef1682a230d4bf235e23c421e450a5

See more details on using hashes here.

File details

Details for the file roaringrel-1.0.0.post0-py3-none-any.whl.

File metadata

File hashes

Hashes for roaringrel-1.0.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5e2fadcc58d2d1ba789940fc9b2fef9e37357e74f42780e50b6ab3cd09fa6a
MD5 857cee99b239cee2978bfd91f5b6cde9
BLAKE2b-256 52d86da6c9a9941a35940b91d69a4024cccb836536dd28050eabf7a855ea7be0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page