News for hackers. Stuff that matters.
Re:How to Use UUIDv7 in Python, Django and PostgreSQL by sscherfke on Saturday November 15, 2025 @06:16AM (#45936663)
If you want to a UUIDv7 key for partitioning your table by date (e.g., one partition per day or month), you need to be able to compute the partition range via the minimal UUIDv7 for a given date.

There is some discussion whether or not to add helpers for this to Python‘s uuid7 module: https://github.com/python/cpython/issues/130843#issuecomment...

Re:How to Use UUIDv7 in Python, Django and PostgreSQL by pauloxnet on Saturday November 15, 2025 @01:49PM (#45939622)
Thanks for pointing this out and for sharing the link.