Skip to main content

CLI tool for PyPI package analytics from pypistats.com

Project description

pypistats-cli

Check PyPI package health, download trends, and version breakdowns from your terminal.

Powered by pypistats.com.

PyPI version Python 3.9+ License: MIT

Install

pip install pypistats-cli

Usage

pypistats check requests
╭─ requests v2.32.5 ──────────────────────────────────╮
│                                                      │
│  Downloads (30d):  ▄▄▂▂▅▆▅▄▄▂▁▃▄▄▄▅▃▂▄▅▆█▄▂▂▁▆  1.0B │
│  Trend:            +0.1% ↑                           │
│  Health:           █████████░ 91/100                 │
│  License:          Apache-2.0                        │
│  Author:           Kenneth Reitz                     │
│                                                      │
│  Top Versions                                        │
│  2.32.5      ██████████████  69.6%                   │
│  2.31.0      ██  8.3%                                │
│  2.32.4      █  7.2%                                 │
│  2.32.3      █  5.4%                                 │
│  2.27.1      █  1.5%                                 │
╰──────────────────────────────────────────────────────╯

Options

# Custom time window
pypistats check fastapi --days 7

# Help
pypistats --help
pypistats check --help

Features

  • Download trends with sparkline visualization
  • Health score (0-100) based on download consistency, popularity, metadata, and growth
  • Version breakdown showing adoption percentages
  • Package metadata including license, author, and latest version

API Key (Optional)

For higher rate limits, set your API key:

export PYPISTATS_API_KEY=your-key-here

Get an API key at pypistats.com/pricing.

Requirements

License

MIT

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

pypistats_cli-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pypistats_cli-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pypistats_cli-0.1.1.tar.gz.

File metadata

  • Download URL: pypistats_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for pypistats_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f04a6ea3faa4415ead87c0db33fdd1466acf51bd102a8b7417b4eb8421be8e4a
MD5 5bafae7ede68c62cd0721174e24065f4
BLAKE2b-256 fc84f0e4f5974d82f391b5fd6e2094779a0c86cabc887d21292fd52b48d4d21c

See more details on using hashes here.

File details

Details for the file pypistats_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pypistats_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for pypistats_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f23ad797b2370054e2e287cdd877ff1e5dc0b68d978721d572a4e77f9c706072
MD5 fb0b32e60d36f32023b43a9721ba5c8d
BLAKE2b-256 7adad8ccee65d70d4def2b0163311a7c7b824d449ef2737f88e52a8a6747f39f

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