Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/savanarohit/github-pull-summary-python

This GitHub repository is your essential tool for generating pull request summaries on GitHub. It includes scripts and configurations for automating the generation of pull request summaries, enhancing collaboration and code review efficiency.
https://github.com/savanarohit/github-pull-summary-python

github-api pip python3

Last synced: 3 days ago
JSON representation

This GitHub repository is your essential tool for generating pull request summaries on GitHub. It includes scripts and configurations for automating the generation of pull request summaries, enhancing collaboration and code review efficiency.

Awesome Lists containing this project

README

        

## GitHub Pull Request Summary

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.

### Prerequisites

- Python 3.9
- Required Python packages:
- `datetime`
- `github`
- `python-dotenv`
- `PyGithub`
- `tabulate`

### Installation

1. Clone the repository:

git clone https://github.com/your-username/your-repo.git

2. Change into the project directory:

cd your-repo

3. Install the required packages:

pip install -r requirements.txt

4. 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.

### Usage

1. Run the Python program:

python code.py

2. Follow the prompts and enter the required information:

Your email address (From)
The recipient's email address (To)

3. Review the generated summary and table of pull requests.