One of my favorite things about UUIDv7: the package https://pypi.org/project/uuid7/ does not implement compliant UUIDv7s, it's from a wholly incompatible draft format. That was not a fun debugging session.
https://pypi.org/project/uuid-utils/ is what you want :)
> the package https://pypi.org/project/uuid7/ does not implement compliant UUIDv7s,
This package should be removed from pypi or somehow give warnings
> "... 48 bits of randomness"
That's an awful waste for a 128 bit object!
not python is what you really want I suppose.