A library which generates random character codes using the random module
Project description
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.4
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for randomcharactergenerator-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe9c56cf52db40db092ca97adbaa85439b6e1007c27ce64e4589f5f5498c22c |
|
MD5 | b3955042231fe62b4c42de9c7b6e1655 |
|
BLAKE2b-256 | 0121d1f394c45874afb6b9bf49bd78aec393cba36074796ee798e8ba6d265c09 |
Close
Hashes for randomcharactergenerator-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c8f4f19a672656fc2c87ceb551920be5b4a5edc9aa2442071d78dbd4d9e4bc |
|
MD5 | 395f100034c6ef08bd859857ee30aafa |
|
BLAKE2b-256 | 8c64fc0c2771483b36df4520f0b7a339a270588b9e5a60ded74e2d0e02a20899 |