frozenintset
FrozenIntSet is an immutable, memory-efficient set of integers.
It fully conforms to collections.abc.Set[int] and stores values as a sorted list of non-overlapping ranges.
from frozenintset import FrozenIntSet
s = FrozenIntSet({-5, -4, -3, -2, 4, 9, 10, 20, 21, 22})
Why frozenintset?
✅ Immutable and hashable (usable as dict keys or cache keys)
✅ Efficient for both dense and sparse integer sets
✅ Fast membership testing, iteration, slicing, and set operations
✅ Supports arbitrary-size integers (no 64-bit limit)
Alternatives
Metadata
Release files for frozenintset 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frozenintset-0.1.3.tar.gz | 31.0 kB | With provenance | Details for frozenintset-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frozenintset-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for frozenintset-0.1.3-py3-none-any.whl |
Total release size: 37.1 kB
Release files / frozenintset-0.1.3.tar.gz
| Download URL | frozenintset-0.1.3.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a73870e0187b6ad5dc00aec35312893a60389f36964a850caffc5e83dfb7f27
|
|
BLAKE2b-256 checksum How to use checksums |
90a9df9498b613bda7990c674ee51d819b94d9d369f128bab7dfc233fc57150d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 30, 2025.
Transparency logRelease files / frozenintset-0.1.3-py3-none-any.whl
| Download URL | frozenintset-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6e4015d7e600ce7ece8492383d07d0c6ee134eae0960f0019df786d9085d14e
|
|
BLAKE2b-256 checksum How to use checksums |
51ce80a8f64c2f1593475e30de06b550b087339c1936a8cdd4dc0d4d837b95e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 30, 2025.
Transparency logSecurity for frozenintset 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for frozenintset-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 30, 2025.
Transparency logA 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.