Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15846 > unrolled thread

Bug#1071445: ITP: python-ulid-transform -- Fast ULID transformations

Started byEdward Betts <edward@4angle.com>
First post2024-05-19 15:00 +0200
Last post2024-05-19 15:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python


Contents

  Bug#1071445: ITP: python-ulid-transform -- Fast ULID transformations Edward Betts <edward@4angle.com> - 2024-05-19 15:00 +0200

#15846 — Bug#1071445: ITP: python-ulid-transform -- Fast ULID transformations

FromEdward Betts <edward@4angle.com>
Date2024-05-19 15:00 +0200
SubjectBug#1071445: ITP: python-ulid-transform -- Fast ULID transformations
Message-ID<IFOiR-epvC-3@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web