DEV Community

Cover image for PyPI Stats: Turning Raw Download Numbers into Actionable Insights for Python Package Maintainers
Dale Wright
Dale Wright

Posted on

PyPI Stats: Turning Raw Download Numbers into Actionable Insights for Python Package Maintainers

Hey dev community 👋

If you've ever published a Python package on PyPI, you've probably stared at the basic download stats page wondering:

  • Is usage actually growing... or just fluctuating noise?
  • Which versions are people really installing?
  • Did that blog post / Reddit thread / vulnerability actually cause a spike?
  • How does my package stack up against competitors?

The official PyPI stats are great raw data (thanks BigQuery!), but they're not exactly maintainer-friendly. No easy trends, no alerts for drops, no quick comparisons, and definitely no AI to explain "hey, your downloads just tanked 40%—maybe check your last release?"

After dealing with this frustration on my own projects, I decided to build something better.

Enter pypistats.com — The Developer's Dashboard for PyPI.

What It Does (Core Features)

  1. Live, Real-Time Package Dashboards Just go to https://pypistats.com/packages/your-package-name and get instant visuals:
    • Daily/weekly/monthly download trends
    • Breakdowns by Python version, implementation (CPython/PyPy/etc.), OS, country
    • Top versions over time Data pulled fresh from PyPI's public BigQuery exports.

Dashboard Example

  1. Trend Detection & Smart Alerts

    Spot anomalies automatically — sudden spikes from viral mentions or drops from deprecation.

    Set up email alerts (Pro/Enterprise) so you're notified before a trend becomes a problem.

  2. AI-Powered Insights

    Powered by Claude, it generates human-readable summaries like:

    "Your package saw a 150% week-over-week increase after that Hacker News post — version 2.1 is dominating adoption."

    Helps you understand why numbers are moving without manual analysis.

  3. Embeddable Badges for Your README

    Show off your stats with zero effort:

   [![PyPI Downloads](https://pypistats.com/api/badges/your-package)](https://pypistats.com/packages/your-package)
Enter fullscreen mode Exit fullscreen mode

Turns metrics into social proof for contributors and users. Downloads badge in this example.

Badge Example

  1. Weekly Digests & Comparisons Get a curated email recap of your package's week. Compare against similar packages to see if you're gaining/losing ground.

Tech Behind It (Quick Overview)

  • Backend: Python (FastAPI for the API, processing BigQuery data)
  • Frontend: Modern React/Next.js for smooth dashboards
  • Data: Sourced from PyPI's public BigQuery dataset (shoutout to the PSF!)
  • AI: Claude for natural-language commentary
  • Free tier covers core stats + badges; paid unlocks AI, alerts, digests

Full disclosure: Yes, I'm the creator (Dale / @pypistats on X). I built this for myself and other maintainers first — it's not trying to be a massive enterprise thing, just a helpful tool in the Python ecosystem.

Why This Matters in 2026

Python's ecosystem is massive (millions of packages, billions of downloads), but most maintainers fly blind on adoption. Better visibility means:

  • Prioritizing features users actually want
  • Catching issues early (security, compatibility breaks)
  • Attracting sponsors/contributors with real proof of impact
  • Making data-driven decisions instead of gut feels

Try It Out & Give Feedback!

Head over to pypistats.com, plug in your favorite package (or yours!), and see what the trends reveal. This has very recently launched, so I'm still backfilling package data. If your package doesn't show up, a search will trigger a download, so be patient.

What do you think?

  • Does this solve a real pain point for you?
  • Missing metrics (e.g., more granular geo, dependency graphs)?
  • Better ways to visualize or alert?

Drop a comment below — I'd love to hear your thoughts, suggestions, or even roast the UI if it's ugly 😅. If enough people find it useful, I'll keep iterating.

Thanks for reading!

Dale

Creator of pypistats.com

@pypistats on X

Top comments (0)