Stay up to date with hiero organisation activity and contributor diversity
This repository provides analytics for the Hiero repositories.
Before you begin, make sure you have:
- Git installed (Download Git)
- Python 3.10+ installed (Download Python)
- A GitHub account (Sign up)
Forking creates your own copy of the Hiero Python SDK that you can modify freely.
- Go to https://github.com/hiero-hackers/analytics
- Click the Fork button in the top-right corner
- Select your GitHub account as the destination
You now have your own fork at https://github.com/YOUR_USERNAME/hiero-hackers/analytics
Clone your fork to your local machine:
git clone https://github.com/YOUR_USERNAME/hiero-hackers/analytics.git
cd hiero-hackers/analyticsReplace YOUR_USERNAME with your actual GitHub username.
Connect your local repository to the original repository. This allows you to keep your fork synchronized with the latest changes.
git remote add upstream https://github.com/hiero-hackers/analytics.gitWhat this does:
origin= your fork (where you push your changes)upstream= the original repository (where you pull updates from)
Check that both remotes are configured correctly:
git remote -vYou should see:
origin https://github.com/YOUR_USERNAME/hiero-hackers/analytics.git (fetch)
origin https://github.com/YOUR_USERNAME/hiero-hackers/analytics.git (push)
upstream https://github.com/hiero-hackers/analytics.git (fetch)
upstream https://github.com/hiero-hackers/analytics.git (push)
On macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shOn macOS (using Homebrew):
brew install uvOn Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Other installation methods: uv Installation Guide
uv --versionuv automatically manages the correct Python version based on the .python-version file in the project, so you don't need to worry about version conflicts.
Install project dependencies:
uv syncWhat this does:
- Downloads and installs the correct Python version (if needed)
- Creates a virtual environment
- Installs all project dependencies
- Installs development tools (pytest, ruff, etc.)
Create a fine-grained personal access token Personal Acess Tokens Info and Create Personal Access Token. Enable it for public repositorites and do not enable any extra access.
Create a .env file in the project root, copy and save your token.
GITHUB_TOKEN=yoursYou'll need this token to increase your API rate limit when interacting with Github data.
Run the test suite to ensure everything is working:
uv run pytest- Available under the *Apache License, Version 2.0 (Apache-2.0)