Author: Savana Rohit
Date: June 4, 2023
Description: This Python code retrieves GitHub pull request summaries within a date range and presents them in a Table format.
- Python 3.9
- Required Python packages:
datetime
github
python-dotenv
PyGithub
tabulate
-
Clone the repository:
git clone https://github.com/your-username/your-repo.git
-
Change into the project directory:
cd your-repo
-
Install the required packages:
pip install -r requirements.txt
-
Set up the environment variables:
Create a .env file in the project directory.
Add the following line to the .env file:
GITHUB_API_KEY=your-github-api-key
Replace your-github-api-key with your personal GitHub API key.
-
Run the Python program:
python code.py
-
Follow the prompts and enter the required information:
Your email address (From) The recipient's email address (To)
-
Review the generated summary and table of pull requests.