Bug#1071445: ITP: python-ulid-transform -- Fast ULID transformations
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
* Package name : python-ulid-transform
Version : 0.9.0
Upstream Author : J. Nick Koston <nick@koston.org>
* URL : https://github.com/bdraco/ulid-transform
* License : MIT
Programming Lang: Python
Description : Fast ULID transformations
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'
I plan to maintain this package as part of the Python team.
Reply to: