Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hisak-idtools, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size hisak_idtools-0.1-py2.py3-none-any.whl (6.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size hisak-idtools-0.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page