Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15846
| From | Edward Betts <edward@4angle.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python |
| Subject | Bug#1071445: ITP: python-ulid-transform -- Fast ULID transformations |
| Date | 2024-05-19 15:00 +0200 |
| Message-ID | <IFOiR-epvC-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 3 groups.
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.
Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread
Bug#1071445: ITP: python-ulid-transform -- Fast ULID transformations Edward Betts <edward@4angle.com> - 2024-05-19 15:00 +0200
csiph-web