python random strings
a python lib for generate random string 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
Sample Code ✏️
from python_random_strings import random_strings
a = random_strings.random_lowercase(6)
print(a)
a = random_strings.random_uppercase(6)
print(a)
a = random_strings.random_letters(6)
print(a)
a = random_strings.random_digits(6)
print(a)
a = random_strings.random_hexdigits(6)
print(a)
a = random_strings.random_octdigits(6)
print(a)
a = random_strings.random_punctuation(6)
print(a)
a = random_strings.random_printable(6)
print(a)
sample output ?
hueioj
GAVKDF
rENOtb
653665
c25Ba6
540322
"=*$^<
)|~6yZ