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

Comments

Projects
None yet
8 participants
@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

This comment has been minimized.

Show comment
Hide comment
@espadrine

espadrine May 16, 2016

Member

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

Member

espadrine commented May 16, 2016

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

@awnumar

This comment has been minimized.

Show comment
Hide comment
@awnumar

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

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

This comment has been minimized.

Show comment
Hide comment
@espadrine

espadrine May 16, 2016

Member

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

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

Member

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

This comment has been minimized.

Show comment
Hide comment
@awnumar

awnumar May 17, 2016

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

awnumar commented May 17, 2016

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

@jab

This comment has been minimized.

Show comment
Hide comment
@jab

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

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

This comment has been minimized.

Show comment
Hide comment
@awnumar

awnumar Jun 21, 2016

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

awnumar commented Jun 21, 2016

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

@jab

This comment has been minimized.

Show comment
Hide comment
@jab

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

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

This comment has been minimized.

Show comment
Hide comment
@joeyespo

joeyespo Aug 4, 2016

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

joeyespo commented Aug 4, 2016

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

@awnumar

This comment has been minimized.

Show comment
Hide comment
@awnumar

awnumar Aug 4, 2016

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

awnumar commented Aug 4, 2016

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

@awnumar

This comment has been minimized.

Show comment
Hide comment

awnumar commented Aug 4, 2016

openstack-gerrit pushed a commit to openstack/octavia that referenced this issue Oct 1, 2016

Remove pypi download shield from Readme
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

This comment has been minimized.

Show comment
Hide comment
@idlesign

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

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

This comment has been minimized.

Show comment
Hide comment
@hugovk

hugovk Mar 1, 2017

Any news/progress on fixing PyPI downloads badges?

hugovk commented Mar 1, 2017

Any news/progress on fixing PyPI downloads badges?

@espadrine

This comment has been minimized.

Show comment
Hide comment
@espadrine

espadrine Mar 2, 2017

Member

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");
Member

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 jacebrowning/doorstop that referenced this issue Mar 12, 2017

hugovk added a commit to python-pillow/Pillow that referenced this issue Apr 12, 2017

Remove broken downloads badge
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

Remove broken downloads badge
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

This comment has been minimized.

Show comment
Hide comment
@joernhees

joernhees May 14, 2017

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

joernhees commented May 14, 2017

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

hugovk added a commit to pylast/pylast that referenced this issue May 24, 2017

stuhood added a commit to pantsbuild/pants that referenced this issue Jul 6, 2017

Remove Download Stats (#4724)
### Problem

This badge has been broken for over a year (badges/shields#716). Seeing "Downloads: 0/month" sends the wrong message to people viewing this project for the first time.

### Solution

Remove the badge until the problem is fixed or a new badge is found.

kblomqvist added a commit to kblomqvist/yasha that referenced this issue Jul 10, 2017

Remove download stats
This badge has been broken for over a year (badges/shields#716).
@paulmelnikow

This comment has been minimized.

Show comment
Hide comment
@paulmelnikow

paulmelnikow Sep 22, 2017

Member

That's a great idea @joernhees. Would you, or anyone else, like to open a pull request?

I would suggest count no longer available, which is clear to both the user and the developer.

Member

paulmelnikow commented Sep 22, 2017

That's a great idea @joernhees. Would you, or anyone else, like to open a pull request?

I would suggest count no longer available, which is clear to both the user and the developer.

joernhees added a commit to joernhees/shields that referenced this issue Sep 22, 2017

joernhees added a commit to joernhees/shields that referenced this issue Sep 22, 2017

This was referenced Mar 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment