cuid
Fast, scalable unique ID generation
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit May 2023, no releases for over a year) and the CUID standard itself is officially deprecated in favor of CUID2. While it has no known vulnerabilities and high installation friction is its only technical drawback, choosing a deprecated standard for new code creates long-term maintenance risk. Use CUID2 instead unless you are maintaining legacy code already using this package.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation friction is high due to source-only distribution.
- The package is abandoned—last commit was 2023-05-21 and no releases since 2023-03-06—so expect no maintenance or security updates going forward.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache License (permissive), so you can use it freely in commercial and open-source projects without restrictive obligations.
last release 2023-03-06 (1257 days) · last repo commit 2023-05-21 · 64 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,391,931 downloads/mo, #3,962 on PyPI
Alternatives
Verify before relying
pip install cuid
from cuid import cuid
my_id = cuid()
print(my_id)- Whether the deprecated status of the cuid standard itself affects suitability for new projects (cuid2 is the recommended replacement).
- Real-world performance characteristics on modern Python versions beyond the benchmarks provided.
What it is and what it does
cuid.py is a Python port of the JavaScript CUID library, generating portable, sequentially-ordered unique identifiers optimized for horizontal scalability and speed. It has no external dependencies beyond the standard library. The package generates IDs that are designed to be collision-resistant and suitable for distributed systems where many machines may be generating IDs concurrently.
However, the package is abandoned and the CUID standard itself has been officially deprecated in favor of CUID2. While the implementation works and has no known vulnerabilities, it receives no maintenance or updates. If you are starting a new project, the maintainers recommend using CUID2 instead.
Use it for
- Generate unique identifiers for database records in horizontally-scaled web applications.
- Create collision-resistant IDs for distributed systems where multiple services generate identifiers independently.
- Build audit trails or event logs that require sortable, sequentially-ordered unique identifiers.
- Replace UUID/GUID generation when you need better performance and horizontal scalability properties.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit May 2023, no releases for over a year) and the CUID standard itself is officially deprecated in favor of CUID2. While it has no known vulnerabilities and high installation friction is its only technical drawback, choosing a deprecated standard for new code creates long-term maintenance risk. Use CUID2 instead unless you are maintaining legacy code already using this package.
Install
cuid on PyPI
Before you install
Installation friction is high due to source-only distribution. The package is abandoned—last commit was 2023-05-21 and no releases since 2023-03-06—so expect no maintenance or security updates going forward.
License in practice
Licensed under Apache License (permissive), so you can use it freely in commercial and open-source projects without restrictive obligations.
Quickstart
pip install cuid
from cuid import cuid
my_id = cuid()
print(my_id)
Verify before relying
- Whether the deprecated status of the cuid standard itself affects suitability for new projects (cuid2 is the recommended replacement).
- Real-world performance characteristics on modern Python versions beyond the benchmarks provided.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,257 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,391,931 / month, #3,962 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules |
Evidence: cuid-0.4.tar.gz
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 › “cuid identifier”
- cuidGenerates fast, sequentially-ordered unique identifiers (CUIDs)…
- bioregistryBioregistry provides a unified Python interface to query, normalize,…
- prefixcommonsConverts between CURIEs (compact URI identifiers like GO:0008150) and…
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 cuid2 · ulid · snowflake-id · py-deviceid · cyksuid · uuid · sqids · pksuid · svix-ksuid · timeflake