uuid7-standard
UUIDv7 with the final standard. Not to be confused with the uuid7 package on pypi, based on a draft version that was very different.
Decision gist · record as of 2026-08-14
Yes, if you need RFC 9562-compliant UUIDv7 generation with Python datetime integration and no external dependencies. The package is new (first release 2025-07-03) and marked aging, so verify that maintenance will continue before adopting it in production systems. It explicitly solves the problem of the older, broken `uuid7` package on PyPI, so check that you're not accidentally installing the wrong one.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Conflicts with the older abandoned `uuid7` package on PyPI—uninstall it first if present.
- Low friction: pure Python wheel with no runtime dependencies.
License · maintenance · safety
permissive license (permissive) — Permissive license (MIT and Public Domain) means you can use this in commercial and proprietary projects with minimal restrictions.
last release 2025-07-04 (406 days) · last repo commit 2025-07-04 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 155,237 downloads/mo, #10,829 on PyPI
Alternatives
Verify before relying
pip install uuid7-standard
import uuid7
from datetime import datetime, UTC
# Create UUIDv7 with current timestamp
u = uuid7.create()
# Extract timestamp from UUID
timestamp = uuid7.time(u)- Whether the package will receive active maintenance beyond its initial release window.
- Real-world performance characteristics when generating large volumes of UUIDs.
- Compatibility with existing UUID libraries or ORMs that may have their own UUIDv7 implementations.
What it is and what it does
uuid7-standard generates UUIDv7 identifiers that embed creation timestamps and can extract those timestamps back out, following the final RFC 9562 specification. It wraps Python's standard datetime and UUID facilities rather than exposing raw millisecond values or strings, making it natural to use in Pythonic code. The main use case is creating sortable, time-ordered identifiers suitable for database primary keys or distributed systems where you want both uniqueness and temporal ordering.
The package explicitly avoids the older abandoned `uuid7` package on PyPI, which implemented a draft RFC with incorrect timestamps. Since Python's standard library has no UUIDv7 support yet, this fills that gap for developers who need RFC 9562-compliant UUIDs with timestamp extraction. It has no runtime dependencies beyond the standard library.
Use it for
- Generate sortable primary keys for database records that also encode creation time.
- Create time-ordered identifiers in distributed systems where you need both uniqueness and temporal ordering.
- Extract the creation timestamp from an existing UUIDv7 to audit or filter records by when they were created.
- Migrate from millisecond-based or string-based timestamp schemes to standard-compliant UUIDs.
- Build event logs or audit trails where the UUID itself carries the event timestamp.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need RFC 9562-compliant UUIDv7 generation with Python datetime integration and no external dependencies.
The package is new (first release 2025-07-03) and marked aging, so verify that maintenance will continue before adopting it in production systems. It explicitly solves the problem of the older, broken `uuid7` package on PyPI, so check that you're not accidentally installing the wrong one.
Install
uuid7-standard on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Maintenance status is aging—last commit was 2025-07-04 and the package is only days old, so long-term support trajectory is unclear.
Requires Python 3.8 or later. Conflicts with the older abandoned `uuid7` package on PyPI—uninstall it first if present.
License in practice
Permissive license (MIT and Public Domain) means you can use this in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install uuid7-standard
import uuid7
from datetime import datetime, UTC
# Create UUIDv7 with current timestamp
u = uuid7.create()
# Extract timestamp from UUID
timestamp = uuid7.time(u)
Verify before relying
- Whether the package will receive active maintenance beyond its initial release window.
- Real-world performance characteristics when generating large volumes of UUIDs.
- Compatibility with existing UUID libraries or ORMs that may have their own UUIDv7 implementations.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 406 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 155,237 / month, #10,829 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseLicense :: Public DomainProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: uuid7_standard-1.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “uuid with timestamp”
- uuid7-standardGenerates and parses UUIDv7 identifiers with embedded creation…
- uuid-extensionGenerates UUID version 7 identifiers—time-ordered, RFC-compliant…
- uuid6Generates time-based UUID formats (versions 6, 7, and 8) optimized…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also uuid-extension · uuid6 · uuid-v7 · uuid · uuid7 · uuid-utils · ulid-py · freeze-uuid · c_uuid_v7 · rfc3161-client