Unique-ID is a small lib to generate unique ids - string values.
Project description
# 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`.
```python
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)
```
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`.
```python
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)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unique-id-1.0.1.tar.gz
(2.7 kB
view hashes)