uuid6-python
prototypes
uuid6-python | prototypes | |
---|---|---|
1 | 2 | |
97 | 45 | |
- | - | |
6.5 | 4.9 | |
27 days ago | 7 days ago | |
Python | Python | |
MIT 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.
uuid6-python
-
New UUID Formats from IETF
I made a simple Python test library that extends the standard UUID class with UUIDv6 and UUIDv7. You might want to check it out. https://github.com/oittaa/uuid6-python
The official UUID Draft repository has also some alternatives if you'd like to check those out. https://github.com/uuid6/prototypes
Postgres supports UUIDs with any version number natively so you can then do something like this with it:
create table data (id uuid, firstname varchar(100));
prototypes
-
New UUID Formats from IETF
Nice to see another implementation which takes a bit different approach. Just for your information, there's now Draft 03 which changes the format a little bit. I kinda liked the arbitrary precision of Draft 02, but the newer one just requires millisecond precision and then basically leaves it up to the implementation how to handle the generation of multiple UUIDs within the same millisecond.
https://github.com/uuid6/prototypes/issues/21
What are some alternatives?
vanity-uuid - Create "readable" UUIDs such as "5eedbed5-f05e-b055-ada0-d15ab11171e5" for all your UUID needs!
Hashids.java - Hashids algorithm v1.0.0 implementation in Java
dart-uuid - Generate RFC4122(v1,v4,v5,v6,v7,v8) UUIDs
uuid - Generate and parse UUIDs.
uuid7 - UUID version 7, which are time-sortable (following the Peabody RFC4122 draft)
typeid-python - Python implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
brain - Swyx's second brain!
presents - Like hashids, but based on block ciphers