Skip to main content

IntSet

IntSets are an efficient immutable representation of sets of unsigned 64-bit integers with fast boolean operations and fast indexing of the set in sorted order. They are designed to be particularly efficient for representing sets with large contiguous ranges, so for example representing the set of all 64-bit integers takes only a handful of bytes.

Their behaviour and API are somehwere in between that of frozenset and that of a sorted list of deduplicated integers.

The implementation is heavily based on Fast Mergeable Integer Maps by Okasaki and Gill, but it has been adapted to support a somewhat different feature set and a more compact representation for certain usage patterns.

For usage, see the API documentation.

Metadata

Release files for intset 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 intset 1.0.0
File Size Uploaded
intset-1.0.0.tar.gz 7.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for intset 1.0.0
File Interpreter ABI Platform
intset-1.0.0-py3-none-any.whl Python 3 none any Details
intset-1.0.0-py2-none-any.whl Python 2 none any Details

Total release size: 27.1 kB

Release files / intset-1.0.0.tar.gz

Download URL intset-1.0.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2d38e6ae3fdde77aa321123796d38a6dd3e2bb53732e128d262b16848fffbb6d
BLAKE2b-256 checksum
How to use checksums
b3d9ab572c56e59b936623920b4235239103652c80f7c0fee1d9277931d28afb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / intset-1.0.0-py3-none-any.whl

Download URL intset-1.0.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c2b9424a1a12faeb403f3300a5efc3add94a5672af5cc980f616c407ce0e6f6
BLAKE2b-256 checksum
How to use checksums
b481875700ca16401e7cf4e3256a5ef85c66a5f57690ac8e310a6ddc94419bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / intset-1.0.0-py2-none-any.whl

Download URL intset-1.0.0-py2-none-any.whl
Size 9.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3f9957b52421af15e72081fb5eeca6a5538774d4b0d642c3bb40084e5ed12db9
BLAKE2b-256 checksum
How to use checksums
526a0bee2e66988f9c35705b03207e901eb22918b1976d12ce8c0cd870d63c4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

1.0.0 This release

3 release files

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