python3-ulid-transform

Fast ULID transformations

Description

Provides functionalities for creating and transforming ULIDs (Universally Unique Lexicographically Sortable Identifiers). Utilises a Cython-based implementation for optimal performance, with a fallback to pure Python if Cython is unavailable.

Example usage:

 >>> import ulid_transform
 >>> ulid_transform.ulid_hex()
 '01869a2ea5fb0b43aa056293e47c0a35'
 >>> ulid_transform.ulid_now()
 '0001HZX0NW00GW0X476W5TVBFE'
 >>> ulid_transform.ulid_at_time(1234)
 '000000016JC62D620DGYNG2R8H'
 >>> ulid_transform.ulid_to_bytes('0001HZX0NW00GW0X476W5TVBFE')
 b'\x00\x00c\xfe\x82\xbc\x00!\xc0t\x877\x0b\xad\xad\xee'

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/bdraco/ulid-transform


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-ulid-transform