Unique-ID is a small lib to generate unique ids - string values.
To install unique-id
use pip package manager.
pip install unique-id
To get unique ID you have to call method get_unique_id
.
from unique_id import get_unique_id
# Default returns id with length 14 and without `:*^`\",.~;%+-'` chars.
my_id = get_unique_id()
print(my_id)
# Returns id with length 8 and without `A` and `a` letters.
my_id = get_unique_id(length=8, excluded_chars="Aa")
print(my_id)