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

Uploaded Python 3

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

Hashes for roaringrel-1.0.0.post1.tar.gz
Algorithm Hash digest
SHA256 798a7f83aded336ce5bc9b7b778fc60a0b8190be9b5f10bb818a615657fe9dd8
MD5 6fbb842481a729f4a2bf6ec613f6469c
BLAKE2b-256 9416e9236d0eb49e7c7457652c428e2701ba5cc908a31102cc9e3be5a40af1a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roaringrel-1.0.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 5161d0b309a968a61ecc0b389d29d43ba07a8731ba7c575650d3d83578f5b3de
MD5 737538173ec4e337a8fe2efe2467e6c9
BLAKE2b-256 b934ffd21074094e6d7d23fe96da98326e53c1b1255ed97f109598a1a468f8f3

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