This library provides a Python implementation for generating and manipulating UUIDs adhering to the final UUID version 7 standard, ensuring time-ordered identifiers. It explicitly distinguishes itself from the older `uuid7` package on PyPI, which was based on an earlier draft of the standard. The current version is 1.1.0, and it follows a release cadence driven by bug fixes and minor improvements.
pip install uuid7-standardVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to generate a new UUIDv7 using `generate_uuid()` and how to parse an existing UUIDv7 string back into a `UUID7` object.
Always explicitly install `pip install uuid7-standard` and import from `uuid7_standard` (e.g., `from uuid7_standard import generate_uuid`) to ensure you are using the final standard's implementation. Do not use `import uuid7` if you intend to use this library.
To obtain the UUID string, explicitly cast the `UUID7` object to `str()` (e.g., `str(generate_uuid())`) or use its `.hex` attribute (e.g., `generate_uuid().hex`).
No dependency data recorded yet.