Pre-release
This release is a pre-release and may not be stable for production use.
token-status-list
This is an implementation of Token Status List Draft 2.
Features
- Support for 1, 2, 4, and 8 bits.
- Compression as required by the Specification (ZLIB at level 9)
- Formatting and signing Status Lists as either JWT or CWT
- A
TokenSignerprotocol is defined so the user can Bring Their Own Crypto implementation - Alternatively, methods for preparing payloads and assembling payload and signature bytes into the final token is also supported.
- A
- Two Index Allocation strategies, Linear and Random
- Linear strategy will allocate indices serially
- Random strategy will allocate indices pseudo-randomly (as the list fills, speed is favored over randomness)
- Allocators contain state that must be persisted along side the status list itself
- IssuerStatusList and Allocators are serializeable so the user can persist them to the backend of their choice
Planned Features
These are features that I intend to include soon.
- VerifierStatusList providing helpers to verify and validate a Status List Token obtained for verification.
- Examples
Metadata
Release files for token-status-list 0.1.0a2.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| token_status_list-0.1.0a2.dev1.tar.gz | 15.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| token_status_list-0.1.0a2.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / token_status_list-0.1.0a2.dev1.tar.gz
| Download URL | token_status_list-0.1.0a2.dev1.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5e81eab28dbc7190b79ae05eced7640c79b6bc43024be52703849b71b0b8321
|
|
BLAKE2b-256 checksum How to use checksums |
5f0638c342c47e07d3d8b50ca403ad0b985ae891a16fb03e4c7c816bcee46015
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.22.0 CPython/3.9.20 Linux/6.5.0-1025-azure
|
Release files / token_status_list-0.1.0a2.dev1-py3-none-any.whl
| Download URL | token_status_list-0.1.0a2.dev1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecbd4bc44ad7e2c3fbb777607a6491d972daef9cf4a2e8bcceb7b43f732a9808
|
|
BLAKE2b-256 checksum How to use checksums |
eeddb3902f2ea6dc99fa1b574227b73646be4a40dc1cb75eacc37143de08a33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.22.0 CPython/3.9.20 Linux/6.5.0-1025-azure
|