Comparison
cuid vs cuid2 vs python-ulid vs shortuuid
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast, scalable unique ID generation
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install cuidNext generation GUIDs. Collision-resistant ids optimized for horizontal scaling and performance.
Actively maintained. Last release 9 days ago, commits in 14 of the last 26 weeks. A safe choice.
pip install cuid2Universally unique lexicographically sortable identifier
Actively maintained. Last release 2 weeks ago, commits in 4 of the last 26 weeks. A safe choice.
pip install python-ulidA generator library for concise, unambiguous and URL-safe UUIDs.
Low maintenance activity. Last release over 2 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install shortuuidIn short
- cuid is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- shortuuid is the most used: 26.8M downloads a month, 2.0× more than python-ulid.
- cuid2 is better maintained: Pythie’s Index 84 against 31.
- cuid2 is growing fastest: downloads +33% over the last month.
Side by side
| Metric | cuid | cuid2 | python-ulid | shortuuid |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | Pythie’s Index: 84 | Pythie’s Index: 71 | Pythie’s Index: 31 |
| Verdict | Slowing down | Actively maintained | Actively maintained | Low maintenance activity |
| Downloads / month | 1.5M | 1.1M | 13.4M | 26.8M |
| Downloads, month over month | -8% | +33% | +0% | +32% |
| GitHub stars | 64 | 61 | 574 | 2.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 14 | 13 | 290 | 409 |
| Last release | Mar 6, 2023 | Nov 22, 2026 | Nov 17, 2026 | Mar 11, 2024 |
| Releases, 12 months | 0 | 9 | 6 | 0 |
| Weeks with commits | 0 / 26 | 14 / 26 | 4 / 26 | 3 / 26 |
| Recent contributors | 7 | 2 | 19 | 26 |
| First release | Oct 2017 | May 2023 | Sep 2017 | Jan 2011 |
| Python versions | – | 3.11 – 3.15 | 3.11 – 3.15 | 3.6 – 3.11 |
| License | non-standard | MIT | MIT | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.