Skip to content
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

Closed
awnumar opened this issue May 16, 2016 · 19 comments
Closed

PyPi just removed download statistics #716

awnumar opened this issue May 16, 2016 · 19 comments

Comments

@awnumar
Copy link

@awnumar awnumar commented May 16, 2016

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.

@espadrine
Copy link
Member

@espadrine espadrine commented May 16, 2016

I'll leave the badges; they'll be converted to warehouse when it is done.

@awnumar
Copy link
Author

@awnumar awnumar commented May 16, 2016

Converted to warehouse?
On 16 May 2016 22:45, "Thaddee Tyl" notifications@github.com wrote:

I'll leave the badges; they'll be converted to warehouse when it is done.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#716 (comment)

@espadrine
Copy link
Member

@espadrine espadrine commented May 16, 2016

Re: warehouse, I am not knowledgeable, I merely read this comment.

all the developers are working on warehouse, the successor of PyPI

@awnumar
Copy link
Author

@awnumar awnumar commented May 17, 2016

Ah. I'll leave this issue open then, unless you wish to close it.

@jab
Copy link

@jab jab commented Jun 19, 2016

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):
screen shot 2016-06-19 at 11 59 18

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).

@awnumar
Copy link
Author

@awnumar awnumar commented Jun 21, 2016

Nope those statistics are false. Warehouse hasn't added stats yet.

@jab
Copy link

@jab jab commented Jun 25, 2016

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?)

@joeyespo
Copy link

@joeyespo joeyespo commented Aug 4, 2016

Sounds like the stats from Warehouse should be usable now: pypa/pypi-legacy#396 (comment)

@awnumar
Copy link
Author

@awnumar awnumar commented Aug 4, 2016

As far as I can tell, there are no stats at warehouse anymore.

@awnumar
Copy link
Author

@awnumar awnumar commented Aug 4, 2016

openstack-gerrit pushed a commit to openstack/octavia that referenced this issue Oct 1, 2016
Pypi is no longer providing download stats for packages [1].
Removing the shield from our readme.txt.

[1] badges/shields#716

Change-Id: I6679f592e866068752b9c695f7357efb6b59c324
@idlesign
Copy link

@idlesign idlesign commented Dec 12, 2016

Legacy JSON API of interest is and will probably be available at https://pypi.org/pypi/{package_name}/json
Yet download counters are zero for now.

@hugovk
Copy link

@hugovk hugovk commented Mar 1, 2017

Any news/progress on fixing PyPI downloads badges?

@espadrine
Copy link
Member

@espadrine espadrine commented Mar 2, 2017

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");
jacebrowning added a commit to doorstop-dev/doorstop that referenced this issue Mar 12, 2017
hugovk added a commit to python-pillow/Pillow that referenced this issue Apr 12, 2017
Let's remove the downloads badge as it's broken and showing 0 downloads/month.

See also #2396 and badges/shields#716.

[CI skip]
wiredfool added a commit to wiredfool/Pillow that referenced this issue Apr 19, 2017
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]
dbrgn added a commit to dbrgn/RPLCD that referenced this issue May 10, 2017
joernhees added a commit to RDFLib/rdflib that referenced this issue May 14, 2017
@joernhees
Copy link

@joernhees joernhees commented May 14, 2017

just a suggestion: instead of "downloads: 0" maybe write "downloads: -1" or "downloads: defunct"?

jhermann added a commit to DiffSK/configobj that referenced this issue Oct 13, 2018
vtemian added a commit to vtemian/buffpy that referenced this issue May 22, 2019
PyPi doesn't support downloads statistics anymore [badges/shields#716].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.