pypistats-cli
Check PyPI package health, download trends, and version breakdowns from your terminal.
Powered by pypistats.com.
Install
pip install pypistats-cli
Setup
An API key is required. Get one for free at pypistats.com:
- Sign up at pypistats.com
- Go to your dashboard and generate an API key
- Export it in your shell:
export PYPISTATS_API_KEY=pyps_your_key_here
Add it to your ~/.bashrc or ~/.zshrc to persist across sessions.
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
- AI Summary (PRO/Enterprise) — AI-powered health analysis and insights
Tiers
| Feature | Free | Pro | Enterprise |
|---|---|---|---|
| Download stats | Yes | Yes | Yes |
| Health score | Yes | Yes | Yes |
| Version breakdown | Yes | Yes | Yes |
| AI Summary | No | Yes | Yes |
| Rate limit | 10/min | 60/min | 300/min |
Get your API key at pypistats.com/pricing.
Requirements
License
MIT
Metadata
Release files for pypistats-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypistats_cli-0.2.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypistats_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / pypistats_cli-0.2.0.tar.gz
| Download URL | pypistats_cli-0.2.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8da0f2c19623174aefa3d0859a9855c94ee26e40ec3be9c1b24ef8e95750aaf7
|
|
BLAKE2b-256 checksum How to use checksums |
8f98aa838e8baa64fccb3ccfba511853e110d2a76a6f5d6b342a83ec529a253f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / pypistats_cli-0.2.0-py3-none-any.whl
| Download URL | pypistats_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1d53ca19aa2e356a73d28cb2a45932f40a839d57a615c3ea6557b7a6529daf2
|
|
BLAKE2b-256 checksum How to use checksums |
0df1c900f5773d82c407dea52cfed4e1879b648c28b8af12a07045909f508ad6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|