ULID-BUILD(1)
π ULID-BUILD(1) π
okay so bestie, this is ulid-build β it lives in the User Commands section of the manual, and it does exactly one thing and does it gorgeously: it generates ULIDs from a bunch of different sources. like, whatever weird format you've got lying around, this thing will turn it into a ULID. periodt. β¨
β¨ SYNOPSIS β¨
ulid build [-h] [--from-int int] [--from-hex str] [--from-str str]
[--from-timestamp str|float] [--from-datetime iso8601]
[--from-uuid uuid]
ok so it's ulid build plus a whole lil menu of --from-* flags, and you pick the one that matches whatever cursed thing you're holding. no cap. π
πΈ OPTIONS πΈ
π¦ OPTIONAL ARGUMENTS π¦
-h,--helpβ shows you a help message and then dips. the classic. the icon. π--from-int intβ makes a ULID out of an integer. give it a whole number, get a ULID. simple as that fr fr.--from-hex strβ makes one from a hex value that has to be exactly 32 characters. so count them, bestie, don't just vibe-check it. π--from-str strβ makes one from a base32 encoded string, and it's gotta be length 26. yes, 26. not 25, not 27. π―--from-timestamp int|floatβ makes one from a timestamp. it takes either a float in secs or an int as millis β so pick your unit wisely or you'll get a timestamp from a completely different century. π--from-datetime iso8601β makes one from a datetime. and the way it works? the timestamp part of the ULID gets taken straight from the datetime. cute, right? π«Ά--from-uuid uuidβ makes one from a UUID you hand it. heads up tho: the timestamp part will be random. so like, the time portion isn't telling you anything real. it's giving mystery. π
π SEE ALSO π
and that's the whole page, bestie. no filler, all ULID. π
this manual page came from the User Commands corner of the world and it's stamped February 2024 β so if you're reading this in the future, hi, ily, the ULIDs still slay. πβ¨π
π¦ where this page comes from
- epel 10: python3-python-ulid 3.2.1-1.el10_3 Β· MIT
- epel 9: python3-python-ulid 2.7.0-2.el9 Β· MIT
- fedora 43: python3-python-ulid 3.1.0-2.fc43 Β· MIT
- fedora 43: python3-python-ulid 3.2.1-1.fc43 Β· MIT
- fedora 44: python3-python-ulid 3.1.0-6.fc44 Β· MIT
- fedora 44: python3-python-ulid 3.2.1-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms