Return a single string generated from random characters according to the given parameters.
Keyword Arguments:
min_length {int} -- minimum total character length (default: {5})
max_length {int} -- maximum total character length (default: {25})
min_tokens {int} -- minimum total tokens/words (default: {1})
max_tokens {int} -- maximum total tokens/words (default: {5})
lowercase_letters {bool} -- allow lowercase letters (default: {True})
uppercase_letters {bool} -- allow uppercase letters (default: {True})
punctuation {bool} -- allow punctuation characters (default: {True})
numbers {bool} -- allow numbers (default: {True})
Returns:
str -- generated string
-
Notifications
You must be signed in to change notification settings - Fork 0
License
garytyler/randstr-plus
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published