{"repo":"hugovk/pypistats","free":true,"listed":false,"github":"https://github.com/hugovk/pypistats","clone":"git clone https://github.com/hugovk/pypistats.git","description":"Command-line interface to PyPI Stats API to get download stats for Python packages","language":"Python","stars":240,"topics":["python","python3","pypi","statistics","stats","api","cli","command-line","command-line-tool","downloads"],"license":"MIT","category":"cli-tools","readme_excerpt":"pypistats Python interface to PyPI Stats API to get aggregate download statistics on Python packages on the Python Package Index without having to execute queries directly against Google BigQuery. Data is available for the last 180 days. (For longer time periods, pypinfo can help, you'll need an API key and get free quota.) Installation From PyPI From source Example command-line use Run pypistats with a subcommand (corresponding to PyPI Stats endpoints), then options for that subcommand. Top-level help: Help for a subcommand: Get recent downloads: Help for another subcommand: Get version downloads: You can format in Markdown, ready for pasting in GitHub issues and PRs: category percent downloads :------- ------: ----------: 3.12 29.56% 70,503,800 3.11 20.43% 48,711,283 3.10 14.74% 35,149,431 3.13 10.35% 24,680,814 3.9 8.24% 19,640,729 3.7 5.27% 12,565,151 3.8 3.45% 8,231,134 null 3.24% 7,734,467 3.14 2.17% 5,170,747 3.6 1.85% 4,406,662 2.7 0.70% 1,658,402 3.5 0.01% 19,506 3.15 0.00% 5,946 3.4 0.00% 866 3.3 0.00% 20 3.2 0.00% 1 Total 238,478,959 Date range: 2025-12-01 - 2025-12-31 These are equivalent (in May 2019): And: Alternatively, use a local path as the package to look up the name from pyproject.toml or setup.cfg : The default is to sort by downloads. To sort chronologically, use --sort date with --daily or --monthly : Example programmatic use Return values are from the JSON responses documented in the API: https://pypistats.org/api/ NumPy and pandas To use with either N","default_branch":null,"files":null,"tree":[],"storefront":"/r/hugovk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hugovk/pypistats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}