Skip to main content

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.

Release files for pyzid 0.0.2

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

Source distribution (sdist)

Source distribution for pyzid 0.0.2
File Size Uploaded
pyzid-0.0.2.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyzid 0.0.2
File Interpreter ABI Platform
pyzid-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / pyzid-0.0.2.tar.gz

Download URL pyzid-0.0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a9bd0a14159d79f48dce0ecdcb528f22142d71281c61c789a01cc39faaa5a649
BLAKE2b-256 checksum
How to use checksums
7c8f655741d0616ddea49b221a986c1e47c58a3c06100803c603a2528339747f
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 9, 2025.

Transparency log

Release files / pyzid-0.0.2-py3-none-any.whl

Download URL pyzid-0.0.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e6c4f8e471030af81baab176966e3a6059e56f2f1ce5d54cccbb7bae5bafdec
BLAKE2b-256 checksum
How to use checksums
6a9a187cce0b84b1db823237f8b358fb05be163bccba597f8e4947795a751ca2
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 9, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 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