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.1.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.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for pyzid-0.0.1.tar.gz
Algorithm Hash digest
SHA256 da1df3cadd6530c32c7c22195b6068949b8eedad520aae8c56834359fcef1b9e
MD5 d892c0e500891c440eeb97ff1240dc19
BLAKE2b-256 1e4f65a9f09192c9d9c812ceae39b53f63ce25ad5bed01f8503a33e6e37380fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyzid-0.0.1.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.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

Hashes for pyzid-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d427105d41cd07825d0f6a05c2e3c86f8ff1fb42592d6a8ea909ce518b98246a
MD5 462f18edc1dd2f70e7ed712d85550bb7
BLAKE2b-256 a86869e7583c9ba412a7572a9bf96480f816536bf35bb0cef8434d5989a830b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyzid-0.0.1-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