-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed as not planned
Closed as not planned
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
A long awaited new RFC 9562 "Universally Unique IDentifiers (UUIDs)" has been recently published. There is a pressing need to implement UUIDv7 with Fixed Bit-Length Dedicated Counter (Method 1) for Python for use as database keys.
The best choice is to take uuid-rs/uuid#717 (it is perfect) as an example and add to it an optional formal parameter "timestamp offset" in milliseconds (positive or negative). Another good example: UUID v7
See also https://kodraus.github.io/rust/2024/06/24/uuid-v7-counters.html and https://www.reddit.com/r/rust/comments/1dn5ge4/uuid_now_properly_sorts_v7_ids/
Example of an existing implementation: quwac/newnewid-python
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type-featureA feature request or enhancementA feature request or enhancement

