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

Uploaded Python 3

File details

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

File metadata

  • Download URL: roaringrel-1.0.0.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.tar.gz
Algorithm Hash digest
SHA256 07ce56fc88025f3cb837eeb9e86ff2a50be9637dfe0c7e92f0c1a871f9c6d7f9
MD5 9f871da67a3437ab9984b68744daad9c
BLAKE2b-256 9c1f31d0a2c737b68157cc1e61ab7f586fe14813b55e53fec57c2b15ea2f48f4

See more details on using hashes here.

File details

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

File metadata

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

Hashes for roaringrel-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a969e32b776454a6d784853b60bfe482f6c7c63db95f46e27521c9679bf264e4
MD5 4fb9587fe07004d55ec09d6c1b44720d
BLAKE2b-256 437c390f6cbc0242b881931d0880b10773805221d11e85aefb25cc1b3891ced0

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