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.1.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file hisak-idtools-0.1.1.tar.gz
.
File metadata
- Download URL: hisak-idtools-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afcc40c6c15108fb944769df0c94b2cc72bead1d8f29fbb6ba1cb5aed7e6f5f0 |
|
MD5 | c006c3020a879ef2c1522598fc02e4ff |
|
BLAKE2b-256 | 96e673693227e58c1acbe5d88421f5c8be9a347beabc2b2e7771ce7a50c7ff14 |
File details
Details for the file hisak_idtools-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: hisak_idtools-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4303414e49b59227f4b4edd6a68ac3b4f3c7f5830a8d2c5034ec201bb1db46 |
|
MD5 | 19e29f2bfbd0fb21c5966b4a68871c79 |
|
BLAKE2b-256 | 16ad93721c678491bef809849c04946ad0d84ca10afdcab2c2c8baefd700176e |