🆔 YAID-py
Python implementation of Yet Another ID
Install
pip3 install yaid
copy success
Usage
from yaid import new, parse
# Create a new random id
id = new()
# Parse an id
id = parse("4X85VYWZC9ABP")
copy success
Command line
This package comes with a commandline utility called yaid
.
You can run it from the command line
yaid 4X85VYWZC9ABP
copy success
or as a module
python3 -m yaid 4X85VYWZC9ABP
copy success
Set metadata
yaid -m 123 4X85W9A0Y9TQP
copy success
Show info
yaid -i 4X85W9A0Y9TQP Time: 2023-07-05 01:31:57.440000 Meta: 123
copy success
Development
Install dependecy
pip3 install krock32
copy success
Run unittests
python3 test.py
copy success
Building the documentation
pydoc-markdown -p yaid > dist/yaid.md
copy success