Skip to content

Supreme1707/randomcharactergenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Character Generator

About the Package

The random character generator is a library used to generate strings with random letters/numbers

Current version: 0.0.5

Installation

You can install this module using PyPI

pip install randomcharactergenerator

or

python3 -m pip install -U randomcharactergenerator

Usage

# For a random string consisting of both numbers and alphabets
import randomcharactergenerator
string = randomcharactergenerator.rand_code()
print(string)
# For a random string consisting of alphabets only
import randomcharactergenerator
string = randomcharactergenerator.alphabet_code()
print(string)
# For a random string consisting of numbers only
import randomcharactergenerator
string = randomcharactergenerator.number_code()
print(string)
# You can also choose to specify the number of characters
import randomcharactergenerator
string = randomcharactergenerator.rand_code(7)
print(string)

# Notes: Default number of characters is 5. 
# Warning: The 'characters' parameter must be an int only.

For more help, use the module_help() function

import randomcharactergenerator
randomcharactergenerator.module_help()

GitHub

https://github.com/SupremeCoder1707/randomcharactergenerator

Credits

Author: HighlyIntelligentBeing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages