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
Metadata
Release files for python-random-strings 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python random strings-0.3.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_random_strings-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.2 kB
Release files / python random strings-0.3.tar.gz
| Download URL | python random strings-0.3.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3919c88a4f92afa62f00401a69299f8122016e627c358bcf2f2c4d435b671e4
|
|
BLAKE2b-256 checksum How to use checksums |
90682c1eefaaf65a95f343b764898190f450873cb799d4642d02ab58d1e3559a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / python_random_strings-0.3-py3-none-any.whl
| Download URL | python_random_strings-0.3-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fb0ecd5aad354aa3ac69d83e9c69177fb4fbcc138178bdf3b205cb4cd484b1b
|
|
BLAKE2b-256 checksum How to use checksums |
13fc8d20ab7c0319bb23238f1203c527b4eac043cc2b1f33ccc7cd56de157bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|