PyPI StatsPyPI Stats
DiscoverCompareTrendingDashboard
PyPI Stats — Download analytics for Python packages
APIGitHubPrivacyTerms

Sign in to subscribe to our weekly trending newsletter.

Download data sourced from BigQuery (Google). Counts may include CI/CD and mirror traffic.
Inspired by and built upon the work of pypistats.org

Guide

Everything you need to know about using PyPI Stats.

Getting Started

Search for any Python package using the search bar. You'll see a detailed dashboard with download trends, version breakdowns, and ecosystem data.

If a package isn't in our database yet, we'll automatically start loading its data from Google BigQuery. This usually takes a few minutes — just refresh the page shortly.

Create an account to add packages to your watchlist, set up alerts, and unlock Pro features like extended history and CSV exports.

Understanding the Dashboard

Each package dashboard includes:

  • Download Trend — Daily download counts over your selected time range. Shows the overall trajectory of package adoption.
  • Quick Stats — At a glance: your best and worst download days, plus which day of the week the package peaks and which is quietest. Computed from the current trend window.
  • pip install — A one-click copy snippet for installing the package.
  • Health Score — A 0–100 rating across consistency, popularity, metadata completeness, growth, and (when available) GitHub community activity.
  • GitHub Stats — Stars, forks, open issues, and last push date when the package links to a GitHub repository.
  • Dependencies — Packages this project depends on, and other tracked packages that depend on it.
  • Similar Packages — Packages with comparable download volumes, useful for discovering alternatives.

Health Score

The health score is a 0–100 rating composed of four equally-weighted components (25 points each):

When GitHub data is available, the score is split across five components (the first four scale down from 25 to 22 points each to make room for Community). Without GitHub data, the four core components share 25 points each.

Consistency (0–22/25)

How stable are daily downloads over 90 days. Low variance scores higher. A package with steady, predictable downloads is a safer dependency.

Popularity (0–22/25)

Total downloads over 90 days. Scored as: 1M+ = full, 100K+ = 80%, 10K+ = 60%, 1K+ = 40%, otherwise 20%.

Metadata (0–22/25)

Equal points for each of: summary, author, license, homepage, and latest version. Well-maintained packages tend to have complete metadata.

Growth (0–22/25)

Week-over-week download change. 10%+ growth = full, any growth = 80%, minor decline = 60%, major decline = 20%.

Community (0–15) — GitHub only

Based on GitHub stars (10K+ = 10, 1K+ = 8, 100+ = 5, 10+ = 3, otherwise 1) plus a recency bonus for recent pushes (within 30 days = +5, 90 days = +3, 365 days = +1). Only included when GitHub data is available.

AI Health Summary

Each package page includes an AI-generated health summary that provides a plain-English assessment of the package's current state. It analyzes download trends, version activity, metadata completeness, and GitHub stats to give you a quick understanding of whether a package is actively maintained and widely adopted.

Package Chat

Ask questions about any package using the AI chat on its dashboard page. You can ask things like “Is this package safe to use in production?” or “How does this compare to alternatives?” The AI uses the package's download data, metadata, and GitHub stats to give informed answers.

Stack Analyzer

The Stack Analyzer lets you upload a requirements.txt, pyproject.toml, or Pipfile and get a full analysis of your entire dependency tree — direct and transitive.

  • Dependency Graph — An interactive visual graph of every package in your stack, laid out left-to-right from direct deps to transitive deps. Color-coded by risk level.
  • Health Score — Each package gets a 0–100 score based on its 8-week download trend. A package growing consistently scores higher than one with declining or volatile downloads.
  • 7-Day Trend — The percentage change in downloads from the prior 4-week window to the most recent 4-week window. Positive is green, negative is red.
  • Risk Level — Derived from the health score: Low (70+), Medium (40–69), High (<40). Packages with no download history show no risk level.
  • AI Report — Claude analyzes your full dependency graph and writes a plain-English report covering what to watch, what to upgrade, and any concerns.
  • Alerts — Get notified when a package in your stack has a significant download drop or version drift (Pro/Enterprise).

You can also paste a GitHub URL directly — the analyzer auto-converts regular github.com/…/blob/… links to raw content URLs automatically.

Stack Analyzer is available to Pro and Enterprise users. Free users can visit the Stack Analyzer page to see a demo.

Dependencies

Each package page shows dependency relationships in two directions:

  • Depends On — Core packages this package requires to function. Parsed from PyPI's requires_dist metadata, excluding optional extras.
  • Used By — Other tracked packages that list this package as a dependency. A high “Used By” count indicates the package is a foundational building block in the ecosystem.

Click any dependency to jump to its package page. Untracked packages are shown but not linked.

GitHub Stats

When a package's homepage or metadata links to a GitHub repository, we display live stats including stars, forks, and open issues. This helps you gauge community engagement and maintenance activity alongside download numbers.

Similar Packages

At the bottom of each package page, we suggest packages with similar download volumes. This is a quick way to discover alternatives or related tools in the same popularity tier.

Embed Badge

Add a live download count badge to your README or documentation. Each package page includes a badge snippet you can copy — it renders as an SVG image that updates automatically. Supports Markdown, reStructuredText, and HTML formats.

Trending

The trending page ranks packages by week-over-week download growth. A package needs at least 500,000 downloads in the past week to qualify — this filters out noise from smaller packages with volatile numbers.

Trending is a great way to discover new libraries gaining traction in the Python ecosystem before they become mainstream.

Comparing Packages

The compare tool lets you view download trends for multiple packages side-by-side on the same chart.

Free accounts can compare up to 2 packages. Pro accounts can compare up to 10 — useful for evaluating alternatives (e.g., Flask vs FastAPI vs Django) or tracking a suite of related packages.

Alerts

Alerts notify you via email when something notable happens with a package you're watching. Three alert types are available:

  • Download Spike — Triggers when week-over-week downloads increase by 20% or more. Useful for detecting viral adoption or dependency chain effects.
  • Download Drop — Triggers when week-over-week downloads decrease by 20% or more. Can signal deprecation, breaking changes, or ecosystem shifts.
  • New Version — Triggers when a new version of the package is published. Stay on top of updates without manually checking PyPI.

Alerts are checked daily. Create them from your dashboard.

Weekly Digest

Pro and Enterprise users can enable a weekly digest email that summarizes how their saved packages performed over the past week. It includes download counts and week-over-week percentage changes for each saved package.

Enable it from your dashboard. Digests are sent every Monday at 9:00 AM UTC.

Exclude CI/CD Toggle

Pro and Enterprise users can toggle “Exclude CI/CD” on package dashboards to filter out downloads from known automated tools and mirrors, including bandersnatch, devpi, Bazel, Nexus, Artifactory, and Homebrew.

Note: most CI/CD pipelines use standard pip or uv to install packages, making them indistinguishable from human installs at the data level. This filter removes what's identifiable, but won't capture all automated traffic.

API

PyPI Stats provides a public REST API for programmatic access to download data, package metadata, and health scores. See the API documentation for endpoints, rate limits, and authentication details.

Frequently Asked Questions