Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

randomcharactergenerator-0.0.4.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

randomcharactergenerator-0.0.4-py2-none-any.whl (4.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page