Skip to main content

A simple tool to quantify your GitHub repo star percentile.

Project description

GitStarPercentile

Twitter LinkedIn
Latest PyPI version PyPI download 3 month PyPI download month License: MIT


🤔 Have you ever wondered how popular your GitHub repository really is?

😠 Frustrated that GitHub doesn’t show star percentiles anywhere?

Maybe you’ve thought:

"I have 200 stars — but is that a lot?"

"Where does my repo rank compared to the other repos?"


GitStarPercentile tells you instantly:

Enter your star count and instantly see your percentile, calculated from GitHub-wide data.

🚀 Features

  • 📊 Instant percentile lookup — get your repo’s rank in milliseconds.
  • 🖥 Simple CLI — just type git-star-percentile and enter your star count.

📦 Installation

From the command line:

pip install git-star-percentile --upgrade

⚡ Usage

From the command line:

git-star-percentile

You’ll be prompted to enter the number of stars for your repository:

Enter the number of GitHub stars: 200
Your repo is approximately among the top xx.xxxx%.

📄 Data Source

If we count all public repositories:

GitHub Stars Distribution

If we only count public repositories with at least 1 star:

GitHub Stars Distribution
  • Star statistics are pulled from all public GitHub repositories.

  • Data is stored in stats/github_repo_stars.csv.

  • Want fresher stats? Run the stats counter yourself and submit a pull request.

    python count_all_repo_stars.py --github-token $YOUR_GITHUB_TOKEN
    

    The line above would run over all public repositories. For a more manageable run, sample 1 million instead.

    python count_all_repo_stars.py --github-token $YOUR_GITHUB_TOKEN --sample-size 1000000
    

    Note I will not consider merging results with --sample-size below 1 million.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-star-percentile-1.7.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_star_percentile-1.7-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file git-star-percentile-1.7.tar.gz.

File metadata

  • Download URL: git-star-percentile-1.7.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for git-star-percentile-1.7.tar.gz
Algorithm Hash digest
SHA256 ea7b1ce7b35e9e10609dba223520cb0b49718cdaa58bdf2163ac8b852cc7db8c
MD5 99266c507c34558dac1b486e370448ed
BLAKE2b-256 dd4da8815bbaaba406eeffb8daa5c76ec20a92eba85f14962001a1d9ad31cd72

See more details on using hashes here.

File details

Details for the file git_star_percentile-1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for git_star_percentile-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 568c73d6dfb07a210113e48af77b341aa5c735ba559240ba1720a90465b04171
MD5 2e21b00899aec2398c54594d1af7140d
BLAKE2b-256 dec18302550151dd49a429a4f6738c44bf7d14c2ece19b9be49e118661cd75a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page