A sortable unique identifier generator.
Project description
pyzid
A sortable unique identifier generator.
Usage
import pyzid
print( pyzid.generate() )
Specification
Raw ZID is a 15 bytes binary data, which consists of 4 parts:
| Part | Size | Description |
|---|---|---|
| Timestamp | 6 | Timestamp in milliseconds. |
| MachineID | 4 | Machine unique identifier. |
| ProcessID | 3 | Process ID. |
| Sequence | 2 | Sequence. |
All parts are integer value, and they are encoded to bytes in Big-Endian.
ZID is a customized base32 encoded string from raw ZID, which is a 24 characters string consists of numbers and lower-case letters.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyzid-0.0.1.tar.gz.
File metadata
- Download URL: pyzid-0.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1df3cadd6530c32c7c22195b6068949b8eedad520aae8c56834359fcef1b9e
|
|
| MD5 |
d892c0e500891c440eeb97ff1240dc19
|
|
| BLAKE2b-256 |
1e4f65a9f09192c9d9c812ceae39b53f63ce25ad5bed01f8503a33e6e37380fd
|
Provenance
The following attestation bundles were made for pyzid-0.0.1.tar.gz:
Publisher:
pypi.yml on deadblue/pyzid
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyzid-0.0.1.tar.gz -
Subject digest:
da1df3cadd6530c32c7c22195b6068949b8eedad520aae8c56834359fcef1b9e - Sigstore transparency entry: 208465379
- Sigstore integration time:
-
Permalink:
deadblue/pyzid@bda69fcb5299a20b362af6b0a212ac4580f27a59 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/deadblue
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@bda69fcb5299a20b362af6b0a212ac4580f27a59 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyzid-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyzid-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d427105d41cd07825d0f6a05c2e3c86f8ff1fb42592d6a8ea909ce518b98246a
|
|
| MD5 |
462f18edc1dd2f70e7ed712d85550bb7
|
|
| BLAKE2b-256 |
a86869e7583c9ba412a7572a9bf96480f816536bf35bb0cef8434d5989a830b4
|
Provenance
The following attestation bundles were made for pyzid-0.0.1-py3-none-any.whl:
Publisher:
pypi.yml on deadblue/pyzid
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyzid-0.0.1-py3-none-any.whl -
Subject digest:
d427105d41cd07825d0f6a05c2e3c86f8ff1fb42592d6a8ea909ce518b98246a - Sigstore transparency entry: 208465382
- Sigstore integration time:
-
Permalink:
deadblue/pyzid@bda69fcb5299a20b362af6b0a212ac4580f27a59 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/deadblue
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@bda69fcb5299a20b362af6b0a212ac4580f27a59 -
Trigger Event:
push
-
Statement type: