Your release pipeline runs. The download numbers still live somewhere else.
You ship from GitHub Actions already. When someone asks how the package is doing, you still open another site, copy a number, and paste it into a thread or a note. The pipeline that cares about the release never sees the signal.
PyPI Package Stats Action puts those figures in the job that already runs.
Download counts where your workflow already lives.
What you get
- One step, one package name. The workflow fetches download totals and package metadata in a single pass.
- Numbers the next step can use. Day, week, and month download fields are exposed as outputs when you give the step an id.
- A file on disk. The same payload lands in a JSON file at a path you choose, handy for artifacts or later jobs.
- A table on the run Summary. A Markdown stats table shows up on the workflow run page with no extra setup.
- Clear failures. Missing packages, upstream API trouble, or a bad output path stop the step with a readable error in the Actions UI.
- Free and open source. MIT licensed, listed on the GitHub Marketplace.
Picture your Monday
Your scheduled workflow runs after a release (an illustrative example). The Summary tab already shows last month’s download total in a small table. A follow-up step compares that output to a floor you care about and posts a warning when the number dips. You never opened a stats site by hand.
Ready to try it?
- Use it from GitHub Marketplace
- See the repository for inputs, outputs, and quick start
- Browse example workflows for thresholds, custom paths, and artifacts
Keep exploring
- How to Add PyPI Download Stats to GitHub Actions: a walkthrough that matches this action step for step.






