Comparison
cuid2 vs python-ulid vs shortuuid vs ulid
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 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 shortuuidPyhton version of this: https://github.com/alizain/ulid
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install ulidIn short
- ulid looks abandoned: avoid it for new projects.
- 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 | cuid2 | python-ulid | shortuuid | ulid |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 71 | Pythie’s Index: 31 | Pythie’s Index: 11 |
| Verdict | Actively maintained | Actively maintained | Low maintenance activity | Likely abandoned |
| Downloads / month | 1.1M | 13.4M | 26.8M | 135.5K |
| Downloads, month over month | +33% | +0% | +32% | +5% |
| GitHub stars | 61 | 574 | 2.2K | 50 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13 | 290 | 409 | 24 |
| Last release | Nov 22, 2026 | Nov 17, 2026 | Mar 11, 2024 | Aug 1, 2016 |
| Releases, 12 months | 9 | 6 | 0 | 0 |
| Weeks with commits | 14 / 26 | 4 / 26 | 3 / 26 | 0 / 26 |
| Recent contributors | 2 | 19 | 26 | 1 |
| First release | May 2023 | Sep 2017 | Jan 2011 | Aug 2016 |
| Python versions | 3.11 – 3.15 | 3.11 – 3.15 | 3.6 – 3.11 | – |
| License | MIT | MIT | BSD-3-Clause | non-standard |
| 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.