Create and transform ULIDs
Project description
Fast ULID transformations
Create and transform ULIDs
Example
>>> 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'
Installation
Install this via pip (or your favourite package manager):
pip install ulid-transform
Contributors ✨
Thanks to https://github.com/suyash/ulid which provides the cython implementation guts.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Copier and the browniebroke/pypackage-template project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ulid_transform-0.3.0.tar.gz
(13.8 kB
view hashes)
Built Distributions
Close
Hashes for ulid_transform-0.3.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68ee4f20b2e070fc92360392e2804677bcd7bb680ddc4b99b229ed3ad65dfea |
|
MD5 | 31e43d914e74399b0edb62f098f63d78 |
|
BLAKE2b-256 | af682674521fc64859b66551794e4c70fa0080b43b33711492f2a2a110ea35c5 |
Close
Hashes for ulid_transform-0.3.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 246cc3459799e0cbdba51c4b6a9e8ab0277bb2191560bb6d9966b39b4001f951 |
|
MD5 | 7c8acc72ab245bfaa82f455e5fddb295 |
|
BLAKE2b-256 | dfaa5ff23803e223ad47edd830b273d6fa617f075f2b7f501400399628509465 |
Close
Hashes for ulid_transform-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d87cb9dbf578600084cd56ea4b2c90d05cfdacfa2aaefb9e5c66405ea1f354 |
|
MD5 | 55db4526219413385403814716905a1c |
|
BLAKE2b-256 | f15bddfd4a19bb32ff07a0e5e653edbf753b0fe7f71a26668a519b5a33ce0048 |
Close
Hashes for ulid_transform-0.3.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5602af2d6de50ac34f54e3ea1badc9f3d16a845d5afad46ac2ae0ec14249a7cf |
|
MD5 | 97b0404396aa54da6bd081d45922cf7e |
|
BLAKE2b-256 | 2bc58bcee02f803a5c09452332a7a4627a47e1c3210000878d467e1d0129d2bf |
Close
Hashes for ulid_transform-0.3.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a69225ad549b4b721641cbde2d70a506c4d243f0bc5dc0f228464fd4b0909629 |
|
MD5 | 2ed7c20d8c0ae6a01088b13f9feca679 |
|
BLAKE2b-256 | 988359e30d08f960cc9a57b5baca17dc76cb1cdd7572ed837ee609aaff621b1d |
Close
Hashes for ulid_transform-0.3.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f66638051d1fda06c4a1c1e36d27e40579a03e63a04a81e843370ebb51dde1b9 |
|
MD5 | b9da7cbc701254213dbf1f83faf93efa |
|
BLAKE2b-256 | d134adef0e689c65eab0760e14aced367ceefe04f8f0aa946656b12ea266274d |
Close
Hashes for ulid_transform-0.3.0-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9541b166f44d10e2b12541485db14c274915820ef230d4c6330f452750febf7b |
|
MD5 | 0b04cff34ef144ca0bebb0e44f852f1f |
|
BLAKE2b-256 | 8e740bbe3b04ba25e32f0f7aa9537af9366f2dd7eb767b3ad3a4ef6ea922c2aa |
Close
Hashes for ulid_transform-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18a00af0fd32d46c4c6869c3dadaf9d5b6adb5f1e76cd9c916b30e8b807334f1 |
|
MD5 | 0968090b15a8f1c5e1cf1d07a0e625ab |
|
BLAKE2b-256 | c24848a188196ccf430c72d98449e01ee4b3c2c7958f29dc2a97ebb3e58e84db |
Close
Hashes for ulid_transform-0.3.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd84e11ad511953a3585651be06864ff95ed55cdcd7a90a693b629d67b8968a |
|
MD5 | 6b8158777127f46e52231750e0e1a22f |
|
BLAKE2b-256 | 82e754bfe38c754dc6bb68c76cdeca27bd0890c1dd65fc5c4939c6b70fe465a6 |