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 details)
File details
Details for the file unique-id-1.0.1.tar.gz
.
File metadata
- Download URL: unique-id-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e649db14dd6741d84eb38185dd40607216ecb799404b8ab0647db963d98a1253 |
|
MD5 | 183cc6f2a4259a43a1765e33ac3e9654 |
|
BLAKE2b-256 | eccabecabf0ba69b31e77def2ff43ff8fab5953cc38b51f6878defec0dcbad31 |