7

Up until recently, it was possible to see how many times a python module indexed on https://pypi.python.org/pypi had been downloaded (each module listed downloads for the past 24hrs, week and month). Now that information seems to be missing.

Download numbers are very helpful information when evaluating whether to build code off of one module or another. They also seem to be referenced by sites such as https://img.shields.io/

Does anyone know what happened? And/or, where I can view/retrieve that information?

R J
  • 4,473
  • 2
  • 22
  • 29

5 Answers5

10

This email from Donald Stufft (PyPI maintainer) from distutils mailing list says:

Just an FYI, I've disabled download counts on PyPI for the time being. The statistics stack is broken and needs engineering effort to fix it back up to deal with changes to PyPI. It was suggested that hiding the counts would help prevent user confusion when they see things like "downloaded 0 times" making people believe that a library has no users, even if it is a significantly downloaded library.

I'm unlikely to get around to fixing the current stack since, as part of Warehouse, I'm working on a new statistics stack which is much better. The data collection and storage parts of that stack are already done and I just need to get querying done (made more difficult by the fact that the new system queries can take 10+ seconds to complete, but can be queried on any dimension) and a tool to process the historical data and put it into the new storage engine.

Anyways, this is just to let folks know that this isn't a permanent loss of the feature and we won't lose any data.

So i guess we'll have to wait for a new stats stack in PyPI.

Community
  • 1
  • 1
dmand
  • 126
  • 1
  • 4
  • Thanks for spotting this. Helps clarify both the reason and the situation. Waiting underway... – R J Jun 01 '16 at 03:35
6

I just released http://pepy.tech/ to view the downloads of a package. I use the official data which is stored in BigQuery. I hope you will find it interesting :-)

Also the site is open source https://github.com/psincraian/pepy

petrusqui
  • 1,445
  • 2
  • 13
  • 10
3

Don't know what happened (although it happened before, i.e.) but you might wan't to try the PyPI ranking, or any of the several available modules and recipes to do this. For example:

But consider that a lot of the downloads might be mirrors and not necessarily "real" user downloads. You should that into account in you evaluation. The libs mailing list (or other preferred media) might be a better way to know what version you should install.

Community
  • 1
  • 1
armatita
  • 12,825
  • 8
  • 48
  • 49
  • Thanks for the info. Installed vanity and gave it a go. Vanity reports PyPi Stats are down. So, apparently it is a global problem. Thanks again for the list of tools. – R J May 30 '16 at 18:31
1

PYPI count is disable temporarily as posted by dmand but there are some sites which may tells you python package statistics like pypi-stats.com (they said it shows real time information) and pypi-ranking.info (this might not gives you real time information).

You can also found some pypi packages which can gives you downloads information.

  • Thanks for the reference. PyPi-stats is a nice temporary solution. – R J Dec 12 '16 at 18:18
  • 1
    Unfortunately as of 2022, pypi-stats says 'this domain is for sale' and pypi-ranking is a 404. – Jac Jan 13 '22 at 18:38
-1

[2023] download counts with and without mirrors

Since many of the links above are outdated (07/2023), I was happy to see that https://pypistats.org/ gives what seems like a very realistic count and even has a distinction between mirror downloads and user downloads.

Scriddie
  • 2,584
  • 1
  • 10
  • 17