fastuuid
Python bindings to Rust's UUID library.
Decision gist · record as of 2026-08-14
Yes, if you generate UUIDs at scale or need UUID v7 support. The permissive BSD license, zero runtime dependencies, precompiled wheels, and recent repository activity make it low-risk. Maintenance is aging (last release 299 days ago), so verify the project remains active for your Python version before committing to a long-term dependency. For typical low-volume UUID use, the standard library is sufficient.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; compiled wheels available for most platforms, but source builds require a Rust toolchain.
- Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (macOS, Linux, Windows) and Python versions 3.8–3.14.
- Repository shows recent activity (last commit 2025-10-19) and is not archived, though maintenance status is aging.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2025-10-19 (299 days) · last repo commit 2025-10-19 · 187 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 94,946,095 downloads/mo, #358 on PyPI
Alternatives
Verify before relying
pip install fastuuid
import fastuuid
uuid_obj = fastuuid.uuid4()
print(uuid_obj)- Whether uuid4_bulk() GIL-release behavior provides measurable throughput gains in typical multi-threaded workloads.
- How strict hexadecimal parsing differs from the standard library in edge cases.
- Performance characteristics on platforms beyond x86_64 (e.g., ARM, RISC-V).
What it is and what it does
FastUUID is a Rust-backed UUID library for Python that replaces the standard library's pure-Python implementation with compiled bindings. It generates and parses UUIDs faster and enforces stricter validation of hexadecimal input. The library supports UUID versions 1, 3, 4, 5, and 7, and exposes an API compatible with Python's builtin UUID class, making it a drop-in replacement for performance-critical code.
The package includes a `uuid4_bulk()` function that releases the GIL during batch UUID generation, allowing other threads to run concurrently. It is distributed as precompiled wheels for Python 3.8 through 3.14 on macOS, Linux, and Windows, eliminating the need to compile from source on most systems.
Use it for
- Replace standard library UUID calls in high-throughput services that generate thousands of UUIDs per second.
- Generate large batches of random UUIDs in multi-threaded applications using uuid4_bulk() to avoid GIL contention.
- Validate and parse UUID strings with stricter hexadecimal checking than the standard library.
- Migrate existing code using Python's uuid module without rewriting the calling interface.
- Build systems that require UUID v7 support, which is not available in Python's standard library.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you generate UUIDs at scale or need UUID v7 support.
The permissive BSD license, zero runtime dependencies, precompiled wheels, and recent repository activity make it low-risk. Maintenance is aging (last release 299 days ago), so verify the project remains active for your Python version before committing to a long-term dependency. For typical low-volume UUID use, the standard library is sufficient.
Install
fastuuid on PyPI
Before you install
Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (macOS, Linux, Windows) and Python versions 3.8–3.14. Repository shows recent activity (last commit 2025-10-19) and is not archived, though maintenance status is aging.
Requires Python 3.8 or later; compiled wheels available for most platforms, but source builds require a Rust toolchain.
License in practice
Licensed under BSD (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install fastuuid
import fastuuid
uuid_obj = fastuuid.uuid4()
print(uuid_obj)
Verify before relying
- Whether uuid4_bulk() GIL-release behavior provides measurable throughput gains in typical multi-threaded workloads.
- How strict hexadecimal parsing differs from the standard library in edge cases.
- Performance characteristics on platforms beyond x86_64 (e.g., ARM, RISC-V).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 299 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 94,946,095 / month, #358 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: RustTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.whl; fastuuid-0.14.0-cp310-cp310-macosx_11_0_arm64.whl; fastuuid-0.14.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; fastuuid-0.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fastuuid-0.14.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; fastuuid-0.14.0-cp310-cp310-musllinux_1_1_aarch64.whl; fastuuid-0.14.0-cp310-cp310-musllinux_1_1_i686.whl; fastuuid-0.14.0-cp310-cp310-musllinux_1_1_x86_64.whl; fastuuid-0.14.0-cp310-cp310-win32.whl; fastuuid-0.14.0-cp310-cp310-win_amd64.whl; fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.whl; fastuuid-0.14.0-cp311-cp311-macosx_11_0_arm64.whl; fastuuid-0.14.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; fastuuid-0.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fastuuid-0.14.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; fastuuid-0.14.0-cp311-cp311-musllinux_1_1_aarch64.whl; fastuuid-0.14.0-cp311-cp311-musllinux_1_1_i686.whl; fastuuid-0.14.0-cp311-cp311-musllinux_1_1_x86_64.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 parsing performance”
- fastuuidFastUUID provides CPython bindings to Rust's UUID library, offering…
- c_uuid_v7Generates UUID v7 identifiers via a CPython C extension, offering…
- uuid-extensionGenerates UUID version 7 identifiers—time-ordered, RFC-compliant…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also uuid-utils · shortuuid · uuid6 · fastnanoid · uuid7 · uuid-extension · c_uuid_v7 · timeflake · cyksuid · uuid