Identifier generator tools often used privately
Project description
Python Identifier Generator Tools
Identifier generator tools often used privately in Python.
Includes the following features:
- base32
- support alphabet RFC4648, base32hex, crockford, zbase32
- base58
- support alphabet bitcoin, ripple, flickr
- base58check encoding
- xid
- python implementation of xid
- uuid58
- convert uuid to base58, base58 to uuid
- convert uuid to base58check, base58check to uuid
Install
Install and update using pip:
pip install -U hisak-idtools
Xid Example
from hisak.idtools.xid import new_xid
print(new_xid())
UUID58 Example
from hisak.idtools.uuid58 import uuid4
print(uuid4().base58)
Links
I used the following code as reference:
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
hisak-idtools-0.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for hisak_idtools-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0ab7ba23030c4fc3643eca2d4a074c083bad3badac3df49eae970694e295e5a |
|
MD5 | 1df106abd2b309802d7688e93a10f43c |
|
BLAKE2b-256 | 6f5b1ce35f76c0257eda5b6d86b692a6ed5c1414afd29c8892f3d59b017237b7 |