Skip to content

Repository files navigation

python random strings

PythonLicence


a python library to generate random strings and digits and special characters or a combination of them

installation 🛠

pip install python-random-strings

options 🖇

  1. Random Lower Case
  2. Random Upper Case
  3. Random Letters
  4. Random Digits
  5. Random Hex Digits
  6. Random Oct Digits
  7. Random Punctuation
  8. Random Printable
  9. Random Whitespace

Sample Code ✏️

frompython_random_stringsimportrandom_stringsa=random_strings.random_lowercase(6)
print(a)
output=>hueioja=random_strings.random_uppercase(6)
print(a)
output=>GAVKDFa=random_strings.random_letters(6)
print(a)
output=>rENOtba=random_strings.random_digits(6)
print(a)
output=>653665a=random_strings.random_hexdigits(6)
print(a)
output=>c25Ba6a=random_strings.random_octdigits(6)
print(a)
output=>540322a=random_strings.random_punctuation(6)
print(a)
output=> "=*$^<a=random_strings.random_printable(6)
print(a)
output=> )|~6yZa=random_strings.random_whitespace(6)
print(a)
output=> \t\n\r\t\n\x0c

About

a python lib for generate random string and digits and special characters or A combination of them

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages