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.post2.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.post2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: roaringrel-1.0.0.post2.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.post2.tar.gz
Algorithm Hash digest
SHA256 c1703e57ced5aa899846e1fd43d0b11cb8e18b62e0fa36c0c0b1334dab3e151e
MD5 4a7ebbe488b8fab9ed0086520c93b268
BLAKE2b-256 4206d5b4449822b3753d7a14649be74e0272a0f644a5ad2419f8ebf263767cd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roaringrel-1.0.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 854b988160009a544cbc6a1195a5029425cdd0a5bce2e611117d19161f933cb7
MD5 4e74b83864699abe81d801ae310394e5
BLAKE2b-256 ea9ac733b72c82e9e0fa8d1492faf458060b0bac8a75b553189244bc0130c759

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