Skip to main content

uuid6

New time-based UUID formats which are suited for use as a database key.

CI codecov Code style: black

This module extends immutable UUID objects (the UUID class) with the functions uuid6() and uuid7() from the IETF draft.

Install

pip install uuid6

Usage

from uuid6 import uuid6, uuid7

my_uuid = uuid6()
print(my_uuid)
assert my_uuid < uuid6()

my_uuid = uuid7()
print(my_uuid)
assert my_uuid < uuid7()

Metadata

Release files for uuid6 2021.11.30

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

Source distribution (sdist)

Source distribution for uuid6 2021.11.30
File Size Uploaded Provenance Actions
uuid6-2021.11.30.tar.gz 4.6 kB Without provenance Details for uuid6-2021.11.30.tar.gz

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / uuid6-2021.11.30.tar.gz

Download URL uuid6-2021.11.30.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0f6ab88c96a9d78bed54c3100eb3d65afcad9e9c5ef613063cbbd93758942669
BLAKE2b-256 checksum
How to use checksums
0e9c292d191e7401e6d195f2f5e86d3ccdf733e96360a74ac21dcc73929adc45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / uuid6-2021.11.30-py3-none-any.whl

Download URL uuid6-2021.11.30-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f79daf945aa36206e9da0b190b7ffd7f5444ebabdb5d4a7394541fef4d6e37f
BLAKE2b-256 checksum
How to use checksums
76fc15938204888f78d8b6419b4f4dd774b6c908ea325048e73cf9b8dbb8427a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for uuid6 2021.11.30

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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