A Python tool that collects GitHub repository traffic data, including clones (and later, views), and saves them in an Excel spreadsheet for tracking and analysis.
📊 Retrieves clone statistics for public repositories
📂 Stores data in a CSV file
🔄 Automatically updates stats
📈 Improving data organization
📊 Potentially adding charts for visualization
- Adding view count tracking
- Improving data organization
- Storing data in an Excel sheet for easy access
This tool is ideal for developers who want to monitor their repository traffic efficiently. Contributions and feedback are welcome! 😊
- Python 3.8+
- PyQt6
- pandas
- numpy
- python-dotenv
- PyGithub
-
Clone the repository:
git clone https://github.com/BahramF73/GithubStats2Chart.git cd GithubStats2Chart -
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile in the root directory and add your GitHub token:GITHUB_TOKEN=your_github_token
-
Run the application:
python main.py
-
Use the GUI to start and stop data retrieval. The data will be displayed in a table and saved to the specified output file.
main.py: Entry point of the application. Contains the GUI implementation.data_processor/convert_data.py: Contains theConvertDataclass for saving data in different formats.data_processor/data_handler.py: Contains theHandleDataclass for retrieving and processing data from GitHub.data_processor/__init__.py: Initializes thedata_processorpackage.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.