-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyPi just removed download statistics #716
Comments
I'll leave the badges; they'll be converted to warehouse when it is done. |
Converted to warehouse?
|
Re: warehouse, I am not knowledgeable, I merely read this comment.
|
Ah. I'll leave this issue open then, unless you wish to close it. |
It looks like it might be possible to fix this without having to wait for PyPI to be migrated to the new site. Looking at one of my libraries on the new site, it is pulling statistics in line with what I'd expect (5k/month): My shields.io badge currently says 2/month: https://img.shields.io/pypi/dm/bidict.svg Hopefully someone can look into how hard it would be to switch shields.io to using this other source for PyPI stats (including me if no one beats me to it). |
Nope those statistics are false. Warehouse hasn't added stats yet. |
Derp, you're right, looks like it shows the same numbers no matter what project you try. (Too bad they don't put "TODO" there instead of misleading fake numbers.) I guess for now I'll just comment out my downloads badges, which are currently showing bogus, pitiful download counts, unless some better workaround is possible. (For example, there's no way to get at the most recent accurate number, is there?) |
Sounds like the stats from Warehouse should be usable now: pypi/legacy#396 (comment) |
As far as I can tell, there are no stats at warehouse anymore. |
A workaround to access statistics: https://mail.python.org/pipermail/distutils-sig/2016-May/028986.html |
Pypi is no longer providing download stats for packages [1]. Removing the shield from our readme.txt. [1] badges/shields#716 Change-Id: I6679f592e866068752b9c695f7357efb6b59c324
Legacy JSON API of interest is and will probably be available at https://pypi.org/pypi/{package_name}/json |
Any news/progress on fixing PyPI downloads badges? |
AFAIK, the only way to do it currently is through https://bigquery.cloud.google.com/dataset/the-psf:pypi, but it's non-trivial (nor free of charge), and the generic table is empty, we have a separate table for every day, so that we can't simply do: SELECT count(*)
FROM [the-psf:pypi.downloads]
WHERE file.project = 'bidict'
AND timestamp > DATE_ADD(CURRENT_DATE(), -1, "MONTH"); |
Let's remove the downloads badge as it's broken and showing 0 downloads/month. See also #2396 and badges/shields#716. [CI skip]
Let's remove the downloads badge as it's broken and showing 0 downloads/month. See also python-pillow#2396 and badges/shields#716. [CI skip]
just a suggestion: instead of "downloads: 0" maybe write "downloads: -1" or "downloads: defunct"? |
PyPi doesn't support downloads statistics anymore [badges/shields#716].
The issue where it happened is here: https://bitbucket.org/pypa/pypi/issues/396/download-stats-have-stopped-working-again
You can visit any PyPi package to confirm.
The text was updated successfully, but these errors were encountered: