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.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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file randomcharactergenerator-0.0.5.tar.gz.
File metadata
- Download URL: randomcharactergenerator-0.0.5.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97c2b375c4254caa8bdc5b00a5b047529f591e618494b1b246fa8b455f743854
|
|
| MD5 |
7c14fce48fa6f942c29fa723bdaa3079
|
|
| BLAKE2b-256 |
29893a550885618b09ccae068d542dd126ef59b0b65b86e106d93285010b3887
|
File details
Details for the file randomcharactergenerator-0.0.5-py2-none-any.whl.
File metadata
- Download URL: randomcharactergenerator-0.0.5-py2-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0961fadc62eb2c63633e7b7504d1fef988c5ef0818eeb3c599d534d66e070f5
|
|
| MD5 |
03ac31bb44389a8bf89c0b92c786d7be
|
|
| BLAKE2b-256 |
2547836a2c4a389e8a8345c7d4bfedae8ec289971c282aac6329681081b24a66
|