Skip to content

Muftawo/GitMetrica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitMerica

Review insights from your organiztion's Github acticity, gain a deep understanding on repositries, member activity and languages.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone [email protected]:Muftawo/GitMetrica.git
    cd GitMetrica
  2. Set up and activate a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  
  3. Install required packages:

    pip install -r requirements.txt

Setting Up Virtual Environment

Activate the virtual environment before running the project:

source .venv/bin/activate 

Running the Project

The solution to the project has 3 python files extract.py , transform.py and main.py

  1. extract.py pulls all repos from the organization github in addition with all pull request and saves the reulting data as a JSON. run the following to extract all repo data form github orgnization

  2. transform.py reads all the the saved json data apply the need transformations per the description and saves the reuslting dataframe to as a parquet file. run this to apply the needed transformation and save the parquet file.

  3. 'main.py is the primary application file, it imports from the extract and transform modules and run the entire application.

    $ python main.py
    
  4. delete this line

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages