Show PyPI downloads in your Mac menu bar

pypistats.org publishes download counts for every package on PyPI. One address gives yesterday, last week and last month; the key path picks which one your meter shows.

Recipe tested October 29, 2026 with Multimeter 1.1. Source: Web Address.

Preview: the Nixie Tubes face and two alternatives, with sample values like the ones this recipe returns.

What you need

  • Multimeter for macOS 13 or later, $19.99 once.
  • The package name as it appears on PyPI.

Set it up

  1. Check it in Terminal:
    Terminal
    curl -s https://pypistats.org/api/packages/requests/recent
  2. Add a Web Address meter with your package in the address.
    Web address
    https://pypistats.org/api/packages/PACKAGE/recent
  3. Set the key path to data.last_day, data.last_week or data.last_month, and refresh every hour.

Multimeter settings

In Customize This Meter… (from the meter’s menu):

Settings for this meter
SettingValue
SourceWeb Address
Web addresshttps://pypistats.org/api/packages/PACKAGE/recent
Key pathdata.last_week
Refresh every1 hour
LabelPYPI
FaceLCD Readout or Nixie Tubes

Tested: Run on October 29, 2026 for requests: 59,722,528 yesterday.

More on this source, including every format it reads, in the Web Address guide.

Limits

  • Counts update once a day. pypistats is run by volunteers and asks for modest traffic, so keep it at an hour or slower.
  • Package names are lowercase in the address, with dashes rather than underscores.

Troubleshooting

What the meter says, why, and what to do
SymptomCauseFix
No number found in the responseThe key path doesn’t match the reply.Run curl -s with the address and read the JSON. Dots walk into objects, numbers pick array items (items.0.count).
Couldn’t reach the addressNo network, a typo in the host, or the service is down.Open the address in your browser. Multimeter tries again at the next refresh.
The server answered 404The name in the address doesn’t match PyPI’s normalized name.Use lowercase and dashes: my_package becomes my-package.

Questions

Do these counts include mirrors and CI?

Yes. They count every download from PyPI’s servers, which includes automated installs. The without_mirrors figures are on pypistats.org’s other endpoints.

Related

Put it in your menu bar

$19.99 one-time. No subscription. Needs macOS 13 Ventura or later.