Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyzid-0.0.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyzid-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pyzid-0.0.2.tar.gz.

File metadata

  • Download URL: pyzid-0.0.2.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

Hashes for pyzid-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a9bd0a14159d79f48dce0ecdcb528f22142d71281c61c789a01cc39faaa5a649
MD5 9fae4af639dd12642fbb032768177e13
BLAKE2b-256 7c8f655741d0616ddea49b221a986c1e47c58a3c06100803c603a2528339747f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyzid-0.0.2.tar.gz:

Publisher: pypi.yml on deadblue/pyzid

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyzid-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyzid-0.0.2-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

Hashes for pyzid-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6c4f8e471030af81baab176966e3a6059e56f2f1ce5d54cccbb7bae5bafdec
MD5 54181693d8d7ff8eb86a5dbd52f2f609
BLAKE2b-256 6a9a187cce0b84b1db823237f8b358fb05be163bccba597f8e4947795a751ca2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyzid-0.0.2-py3-none-any.whl:

Publisher: pypi.yml on deadblue/pyzid

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page