Skip to main content

A Python implementation of the interval binning scheme

These are some utility functions for working with the interval binning scheme as used in the UCSC Genome Browser. This scheme can be used to implement fast overlap-based querying of intervals, essentially mimicking an R-tree index.

Note that some database systems natively support spatial index methods such as R-trees. See for example the PostGIS extension for PostgreSQL.

Although in principle the method can be used for binning any kind of intervals, be aware that the largest position supported by this implementation is 2^29 (which covers the longest human chromosome).

Usage

See the documentation.

Installation

To install the latest release via PyPI using pip:

pip install interval-binning

Metadata

Release files for interval-binning 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for interval-binning 1.0.0
File Size Uploaded Provenance Actions
interval-binning-1.0.0.tar.gz 4.8 kB Without provenance Details for interval-binning-1.0.0.tar.gz

Release files / interval-binning-1.0.0.tar.gz

Download URL interval-binning-1.0.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e77b748ecce3dde53c744b873f4accfe3f27061357091c68c903f5d86e914b46
BLAKE2b-256 checksum
How to use checksums
0d6a46e4b08485af84fc997534744fb8b4e433e7cd341204e1043903171cd3e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for interval-binning 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page