Skip to content

ashish4824/RandomValue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

am-random-generator

A simple Python package to generate random numbers, characters or both of a given length.

Installation

pip install am-random-generator

Usage

from randomgen import generate_random

# Generate both numbers and characters (default)
print(generate_random(8))  # e.g., "a2b9c4d8"

# Generate numbers only
print(generate_random(5, 'number'))  # e.g., "12345"

# Generate characters only
print(generate_random(10, 'char'))  # e.g., "abcdefghij"

Development

To install the package locally for development:

git clone https://github.com/ashish4824/RandomValue.git
cd RandomValue
pip install -e .

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages