I originally was going to contribute a ulid.from_timestamp_and_randomness(timestamp, randomness) function, but I feel like this operator approach is more intuitive and concise:
Note: Please double check the mypy typing in my commit, you may need to quote the other: 'Randomness' type like how I quoted -> 'UUID', because the definition is below it in the file.
Thanks for an awesome project! ulid + blake3 is an amazing combo for hashing and indexing internet archiving snapshots in my upcoming ArchiveBox refactor 😄
I originally was going to contribute a
ulid.from_timestamp_and_randomness(timestamp, randomness)
function, but I feel like this operator approach is more intuitive and concise:Note: Please double check the mypy typing in my commit, you may need to quote the
other: 'Randomness'
type like how I quoted-> 'UUID'
, because the definition is below it in the file.Thanks for an awesome project!
ulid
+blake3
is an amazing combo for hashing and indexing internet archiving snapshots in my upcoming ArchiveBox refactor 😄