Comparison
cuid2 vs fastnanoid vs py-ulid vs ulid-py
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Next generation GUIDs. Collision-resistant ids optimized for horizontal scaling and performance.
Actively maintained. Last release 10 days ago, commits in 11 of the last 26 weeks. A safe choice.
pip install cuid2A tiny, secure URL-friendly, and fast unique string ID generator for Python, written in Rust.
Low maintenance activity. Last release 17 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install fastnanoidPython library that provides an implementation of the ULID Specification
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install py-ulidUniversally Unique Lexicographically Sortable Identifier
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install ulid-pyIn short
- py-ulid looks abandoned: avoid it for new projects.
- ulid-py looks abandoned: avoid it for new projects.
- cuid2 is the most used: 1.3M downloads a month.
- cuid2 also has the best Pythie’s Index (80).
- cuid2 is growing fastest: downloads +62% over the last month.
- Safe default for a new project: cuid2.
Side by side
| Metric | cuid2 | fastnanoid | py-ulid | ulid-py |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 21 |