Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 536 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 536 Bytes

UNIQUE-ID

Unique-ID is a small lib to generate unique ids - string values.

HOW TO INSTALL?

To install unique-id use pip package manager.

pip install unique-id

HOW TO USE IT?

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)