A Jupyter Notebook that connects to the GitHub API, collects language usage data from your repositories, and generates a pie chart of your most used programming languages.
- Python 3.8+
- A GitHub Personal Access Token with
reposcope
# Clone the repository
git clone https://github.com/WellersonPrenholato/graphics-readme.git
cd graphics-readme
# Install dependencies
pip install -r requirements.txt
# Configure your token
cp .env.example .env
# Edit .env and add your GitHub tokenOpen script-statistics-github.ipynb in Jupyter or VS Code and run all cells.
You can customize the script by editing these variables in the notebook:
| Variable | Description | Default |
|---|---|---|
EXCLUDE |
Languages to remove from chart | HTML, CSS, Jupyter Notebook, PHP |
TOP_N |
Number of top languages to display | 6 |
COLORS |
Colors for pie chart slices | Custom hex colors |
