a python lib for generate random string and digits and special characters or A combination of them
Project description
python random strings
a python library to generate random strings and digits and special characters or a combination of them
installation 🛠
pip install python-random-strings
options 🖇
- Random Lower Case
- Random Upper Case
- Random Letters
- Random Digits
- Random Hex Digits
- Random Oct Digits
- Random Punctuation
- Random Printable
- Random Whitespace
Sample Code ✏️
from python_random_strings import random_strings
a = random_strings.random_lowercase(6)
print(a)
output => hueioj
a = random_strings.random_uppercase(6)
print(a)
output => GAVKDF
a = random_strings.random_letters(6)
print(a)
output => rENOtb
a = random_strings.random_digits(6)
print(a)
output => 653665
a = random_strings.random_hexdigits(6)
print(a)
output => c25Ba6
a = random_strings.random_octdigits(6)
print(a)
output => 540322
a = random_strings.random_punctuation(6)
print(a)
output => "=*$^<
a = random_strings.random_printable(6)
print(a)
output => )|~6yZ
a = random_strings.random_whitespace(6)
print(a)
output => \t\n\r\t\n\x0c
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
python random strings-0.3.tar.gz
(16.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python random strings-0.3.tar.gz.
File metadata
- Download URL: python random strings-0.3.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3919c88a4f92afa62f00401a69299f8122016e627c358bcf2f2c4d435b671e4
|
|
| MD5 |
26c7a15806ec300cc0b5eda9dd3409aa
|
|
| BLAKE2b-256 |
90682c1eefaaf65a95f343b764898190f450873cb799d4642d02ab58d1e3559a
|
File details
Details for the file python_random_strings-0.3-py3-none-any.whl.
File metadata
- Download URL: python_random_strings-0.3-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fb0ecd5aad354aa3ac69d83e9c69177fb4fbcc138178bdf3b205cb4cd484b1b
|
|
| MD5 |
39bbd5a4ac690f0c4ce2be94f6c664f6
|
|
| BLAKE2b-256 |
13fc8d20ab7c0319bb23238f1203c527b4eac043cc2b1f33ccc7cd56de157bf3
|