Skip to content

sklochkova/github-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Metrics Project

This project calculates and prints metrics related to pull requests on a GitHub repository, including average time per author.

Getting Started

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project directory:

    cd your-repository
  3. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Create a .env file in the project root with the following content:

    GITHUB_OWNER=your_username
    GITHUB_REPO=your_repository
    GITHUB_TOKEN=your_personal_access_token
    START_DATE=2024-01-01
    END_DATE=2024-01-31

    Replace the placeholder values with your actual GitHub username, repository name, and personal access token. Adjust the start and end dates as needed.

  2. Run the script:

    python github_metrics.py
  3. View the calculated metrics in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages