https://github.com/tonykipkemboi/github-repo-stats-dashboard
A Streamlit dashboard that provides comprehensive analytics for Python packages, combining PyPI download statistics with GitHub repository metrics.
https://github.com/tonykipkemboi/github-repo-stats-dashboard
Last synced: about 1 month ago
JSON representation
A Streamlit dashboard that provides comprehensive analytics for Python packages, combining PyPI download statistics with GitHub repository metrics.
- Host: GitHub
- URL: https://github.com/tonykipkemboi/github-repo-stats-dashboard
- Owner: tonykipkemboi
- Created: 2025-01-09T09:47:13.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-23T03:46:35.000Z (9 months ago)
- Last Synced: 2025-08-31T10:35:47.293Z (about 1 month ago)
- Language: Python
- Size: 92.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub & PyPI Package Analytics Dashboard
A Streamlit dashboard that provides comprehensive analytics for Python packages, combining PyPI download statistics with GitHub repository metrics.
## Features
- 📊 Real-time PyPI download statistics
- ⭐ GitHub repository metrics (stars, forks, contributors)
- 📈 Interactive visualizations
- 📅 Customizable date ranges
- 📊 Moving averages and trend analysis## Setup
1. Clone the repository:
```bash
git clone https://github.com/tonykipkemboi/github-repo-stats-dashboard.git
cd github-repo-stats-dashboard
```2. Install dependencies:
```bash
pip install -r requirements.txt
```3. Configure secrets:
- Create a `.streamlit/secrets.toml` file with:
```toml
GOOGLE_CLOUD_PROJECT_ID = "your-project-id"
ENCODED_CREDS = "your-base64-encoded-credentials"
GITHUB_TOKEN = "your-github-token"
```4. Run the app:
```bash
streamlit run app.py
```## Usage
1. Enter a PyPI package name
2. Enter the corresponding GitHub repository
3. Select your desired date range and granularity
4. Click "Fetch Stats" to view the analytics## Deployment
The app can be deployed on Streamlit Cloud:
1. Push your code to GitHub
2. Connect your repository to Streamlit Cloud
3. Configure the secrets in Streamlit Cloud dashboard
4. Deploy!