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.2
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))
>> cmkntCBmdp
print(generator.OnlyAlpha(10, 10))
>> UjfQZDDOOq
print(generator.AlphaNumeric(5, 10))
>> FxgirdEYB
print(generator.OnlyNumeric(5, 10))
>> XYfzAT
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.2.tar.gz
.
File metadata
- Download URL: randomisedstring-1.3.2.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 | 319fb3e7fcfaf5deb2b5cc7f25ef93f4008a0d070e2a2b57b5b2bb3cf15029aa |
|
MD5 | eb4f9e8b59ce67adf9b196dd3123559c |
|
BLAKE2b-256 | 788ccb519124fe594100de9e2c2e0c0e834cfd0731136e2539fbed1dd1c35079 |
File details
Details for the file randomisedString-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: randomisedString-1.3.2-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 | e5ec2a8e177f97b16f88c59c6516991132f9bfd861ff63bfb949e9e47d16df92 |
|
MD5 | 126ef339e3e077ef3075bd9d06098f49 |
|
BLAKE2b-256 | 00689d1b10e8fd52d3cec3992cfb0442506e2bf4be2379d3b45faf6819f9f8b0 |