Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2015 (2)
20082026
  1. 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
  2. …other niceties (I wrote the library). It works really well, and I like how small the IDs are. [0] https://github.com/skorokithakis/shortuuid
  3. 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
  4. @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…
  5. …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.
  6. 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…
  7. As mentioned in the README, it's heavily based on the Python version[1]. [1] https://github.com/stochastic-technologies/shortuuid
  8. …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?
  9. ▲ 3
    Shortuuid - Generate concise, unambiguous, URL-safe UUIDs (Python)
    story by coderdude · 2011-08-18 · 0 comments