rfc4122bis
shortuuid
rfc4122bis | shortuuid | |
---|---|---|
2 | 5 | |
54 | 1,975 | |
- | - | |
8.2 | 0.8 | |
4 days ago | about 1 year ago | |
Makefile | Python | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rfc4122bis
-
I need some help to adapt my UUID/GUID library (UUIDNext) to generate the best UUIDs for PostgreSQL, MySQL and other DBMS
I've created a library, UUIDNext, to generate next generation UUID/GUID based on the future RFC that will add new versions of UUID better suited for database use. UUID version 7 are guaranteed to be sorted contrary to traditional GUIDs (a.k.a UUID V4) that are random.
-
Short, friendly base32 slugs from timestamps
One simple workaround could be to use something like UUID version 7[0], using just the first part that encodes the time, and dropping the rest.
[0]: https://github.com/ietf-wg-uuidrev/rfc4122bis
shortuuid
-
Ask HN: Could you show your personal blog here?
Unlike many people here, I don't like to write hundreds of mediocre posts. Instead, I prefer very few posts, that unfortunately are still mediocre.
If you're tired of all the perfection that exists on the internet, where every piece is deeply insightful and changes your life, I'd encourage you to read my articles, which only promise to shorten it:
https://www.stavros.io/
-
Short, friendly base32 slugs from timestamps
I use shortuuid[0] for that stuff, which also omits the capital letter I, and has some other niceties (I wrote the library). It works really well, and I like how small the IDs are.
[0] https://github.com/skorokithakis/shortuuid
- Ask HN: What are your favorite personal sites?
-
Building a Micro Business: What Services I Pay For
skorokithakis: developer of django-annoying and shortuuid
-
GUIDs Are Not the Only Answer
https://github.com/skorokithakis/shortuuid#usage
What are some alternatives?
UUIDNext - A fast and modern .NET library to generate UUID/GUID that are either sequential and database friendly (versions 7), name based (versions 5) or random (version 4).
pangu.py - Paranoid text spacing in Python
Hashids.java - Hashids algorithm v1.0.0 implementation in Java
chardet - Python character encoding detector
fuzzywuzzy - Fuzzy String Matching in Python
Levenshtein - The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
uniout - Never see escaped bytes in output.
Charset Normalizer - Truly universal encoding detector in pure Python
TextDistance - 📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.
json-streamer - A fast streaming JSON parser for Python that generates SAX-like events using yajl
pyfiglet - An implementation of figlet written in Python
xpinyin - Translate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音