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.8.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.8-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-star-percentile-1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 f81b762c5eea41d5a3e135b4fbe365f75fab95e0837c60c120664e123d25a892
MD5 01038d734a7ef982dd7e2977a8bc73c7
BLAKE2b-256 0b3c37a8807a9b07d278289758c5e6b5d464167c7f4dd3fca2d3df14964dc45e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for git_star_percentile-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 52a4548595785265c499ca395e5f876b1fa8da7743816272c275d2d760d8a92f
MD5 8289a8554a15182eb87534fd41641847
BLAKE2b-256 e6e8e55bf11a07e228ab042a796fefc18a3e0d59adf844842c0df9e6f282e7f0

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