A python package that allows to get a random letter
Project description
RANDOM LETTER
What is this project ?
This project is Python package that allows to get a random letter.
Installation
Install the package using pip:
python3 -m pip install random-letter
Usage
import random_letter # import package
letter1 = random_letter.get_random_letter() # get a random lowercase letter
letter2 = random_letter.get_random_letter(True) # get a random uppercase letter
print(letter1, letter2) # print the two letters
You want to contribute ?
If you want to contribute to this project, you are welcome! For this, there are a few steps:
-
Go to the repository homepage.
-
Create a fork of this project in your GitHub account.
-
Clone this fork on your machine with:
# make sure that git is installed before doing this git clone https://github.com/your-username/random-letter.git
-
Create a new branch that describes what you want to do by entering:
git checkout -b my-branch
-
Make your changes.
-
Add the files you have modified:
git add .
-
Make a commit where you say everything you’ve done:
git commit -m "change... and add..."
Please start your commit with a lowercase letter to ensure continuity of commit history
-
Push your changes to GitHub:
git push -u origin my-branch
-
Make a pull request by going to the project fork page and clicking on "Contribute > Open pull request". A window will open, and you will be able to explain in more detail all the changes you have made.
-
Validate and then wait for validation... 😊
💡 You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star!
License
This project is under a MIT license.
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
File details
Details for the file random_letter-0.0.3.tar.gz
.
File metadata
- Download URL: random_letter-0.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b384879f393c9925eb25ba03d67a542887ad689e47bcb7fd3fe4b9840e8804a9 |
|
MD5 | ce44dd6ef7c2b315538101fc46beb061 |
|
BLAKE2b-256 | 533c466928c4d5dc308c0d5058184d45f5d5f72a89b567d398206de282da655f |
File details
Details for the file random_letter-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: random_letter-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60cd1fbc4b4524376f7dd8e75d6572ba83b11932414d9ffe43b13ee89f828ecd |
|
MD5 | f464167b86c5c37092f24da8824b6846 |
|
BLAKE2b-256 | c31791af2a812d3c91f074374ab36e094b87b22efc74a7d41b200b7474b5153f |