skillfed

uuid-v7

UUID v6 and v7 for Python 3.10+.

uuid-v7 v1.0.0 92.2K downloads/30d#13,468 on PyPI
License unclear DORMANT released

What it is and what it does

uuid_v7 adds UUID v7 and v6 generation to Python's standard uuid module. These are time-based UUID variants that improve on random schemes by providing sortable, timestamp-ordered identifiers suitable for databases and distributed systems. The package is a thin wrapper requiring no external dependencies.

UUID v7 embeds a Unix timestamp, making generated IDs naturally sortable by creation time. UUID v6 reorders fields for the same sortability benefit. Both are useful when you need unique identifiers that also serve as temporal markers without requiring a separate timestamp column or index.

Use it for:

  • Generate sortable primary keys for database records where insertion order matters.
  • Create time-ordered identifiers for distributed systems without relying on database sequences.
  • Implement audit trails or event logs where UUID and timestamp are naturally linked.
  • Build APIs that return naturally-ordered resource IDs without explicit sorting overhead.
  • Replace random UUID schemes in applications where temporal locality improves performance.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Generates UUID v7 and v6 identifiers, extending Python's built-in uuid module with time-based and sortable UUID variants.

Yes, if you need UUID v7 or v6 and are on Python 3.10+. The package is lightweight, dependency-free, and solves a real problem. However, verify the license before use in proprietary code, and note that the package is dormant—no updates are expected. Check whether your target Python version has native support before committing to an external dependency.

Install

uuid-v7 on PyPI

pip

pip install uuid-v7

uv

uv add uuid-v7

poetry

poetry add uuid-v7

Installing uuid-v7

Before you install

Low install friction with no runtime dependencies. Package is dormant (no updates since initial release 911 days ago), which may indicate stable maturity or lack of ongoing maintenance.

License in practice

License treatment is unclear; the package metadata does not declare an explicit license. Verify the repository or LICENSE file before use in proprietary or copyleft-sensitive projects.

Quickstart

pip install uuid_v7

from uuid_v7 import uuidv7, uuidv6

print(uuidv7())
print(uuidv6())

Requires Python 3.10 or later.

Verify before relying

  • Whether the package's license is documented in the repository (metadata shows no SPDX or raw license field).
  • Whether dormant status reflects stable maturity or abandonment; no commit or star data available.
  • Whether UUID v7 and v6 are natively available in newer Python versions.
  • Practical performance characteristics and adoption in production systems.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance dormant — 911 days since the last release
First released
Downloads 92,203/month — #13,468 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: uuid_v7-1.0.0-py3-none-any.whl

Tags

UUID v7 generatorUUID v6 implementationtime-based UUIDsortable UUIDuuid module extensionPython UUID v7unique identifier generation
uuid-generationtime-ordered-ids

More Software Development packages