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


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 hashes)

Uploaded Source

Built Distribution

hisak_idtools-0.1.1-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page