skorokithakis/shortuuid
View on GitHub ↗ ★ 2,196 Python
A generator library for concise, unambiguous and URL-safe UUIDs.
9 mentions on Hacker News by 6 people: 1 story, 8 comments · first 2011-08-18 · latest 2024-04-11
20082026
-
If you expose UUIDs to the user, even if just as part of the URL, encode them as shortUUID: https://github.com/skorokithakis/shortuuid
comment by MrBuddyCasino · 2024-04-11 · in The UX of UUIDs -
…other niceties (I wrote the library). It works really well, and I like how small the IDs are. [0] https://github.com/skorokithakis/shortuuid
comment by stavros · 2023-01-19 · in Short, friendly base32 slugs from timestamps -
The Python package `shortuuid` makes working with UUIDs a little easier by encoding them as strings: https://github.com/skorokithakis/shortuuid#usage (uses base-57 encoding, with alphabet consisting of A-Za-z0-9 with potentially confusing…
comment by ivan_ah · 2021-01-05 · in GUIDs Are Not the Only Answer -
@StavrosK the code still very much WIP, but you can take a look at the links I posted on this issue: https://github.com/skorokithakis/shortuuid/issues/50 I'm making some choices very specific to my use case (truncated to length 7, and use…
comment by ivan_ah · 2020-12-06 · in Pg-shortkey: YouTube-Like Short IDs as Postgres Primary Keys -
…version of this six years ago, it's been working beautifully and I use it for IDs in all my APIs: https://github.com/skorokithakis/shortuuid That way, elements are neither enumerable nor guessable.
comment by StavrosK · 2017-09-12 · in Nano ID: A tiny, secure URL-friendly unique string ID generator for JavaScript -
I wrote a fairly popular Python library to easily generate short UUIDs (encoded with base57): https://github.com/stochastic-technologies/shortuuid Since it turned out that most uses didn't actually need a UUID and just needed a random…
comment by StavrosK · 2015-11-26 · in UUIDs generally do not meet security requirements -
As mentioned in the README, it's heavily based on the Python version[1]. [1] https://github.com/stochastic-technologies/shortuuid
comment by Spiritus · 2015-11-06 · in Show HN: Go library for concise, unambiguous and URL-safe UUIDs -
…either, so I wrote this small Python library to re-encode them using a more varied character set: https://github.com/stochastic-technologies/shortuuid
comment by StavrosK · 2014-10-31 · in How long do GUIDs really need to be?