A well maintained program to generate randomised strings. Can be used for assigning unique IDs of any specified size. Can be alpha only or numeric or alphanumeric as specified.
Project description
randomisedString v1.3.3
pip install randomisedString --upgrade
A well maintained program to generate randomised strings. Can be used for assigning unique IDs of any specified size. Can be alpha only or numeric or alphanumeric as specified.
To install:
pip install randomisedString --upgrade
pip3 install randomisedString --upgrade
python -m pip install randomisedString --upgrade
python3 -m pip install randomisedString --upgrade
Using this program is as simple as:
from randomisedString import Generator as StringGenerator
generator = StringGenerator()
print(generator.AlphaNumeric(10, 10))
>> 45HCMJ4SCy
print(generator.OnlyNumeric(10, 10))
>> 1127163
print(generator.OnlyAlpha(10, 10))
>> UjfQZDDOOq
print(generator.AlphaNumeric(5, 10))
>> FxgirdEYB
print(generator.OnlyNumeric(5, 10))
>> 917478
print(generator.OnlyAlpha(5, 10))
>> HqGiHqt
Future implementations:
- Include special characters.
This project is always open to suggestions and feature requests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file randomisedstring-1.3.3.tar.gz
.
File metadata
- Download URL: randomisedstring-1.3.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72ed8effeffa8976b972d40c747af04511bd38b5c0ed0aecd9f51f3267b516e |
|
MD5 | 74ec62d589b5077addc1e6b83f358ce4 |
|
BLAKE2b-256 | 2a183c4d588cd3a9bd0374227714c71b140bdbe2fc80ccfecc855903ffcf890f |
File details
Details for the file randomisedString-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: randomisedString-1.3.3-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df8e6b917bf8bee48eaa1836667b355eaff94d02e9cb59427fd9f8239bca2b9 |
|
MD5 | ddd9f835555e76da71b56b9c5e1daec7 |
|
BLAKE2b-256 | 4f6d551ccd9c67d6223063af94c7a7543a1fcaec1e39250ca754fdab5d284214 |