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

the download number is not right #565

Closed
litaotao opened this issue Nov 17, 2015 · 2 comments
Closed

the download number is not right #565

litaotao opened this issue Nov 17, 2015 · 2 comments

Comments

@litaotao
Copy link

project url: ipython-dashboard

_downloads in the last month_ from the project page on pypi:

screen_shot 2015-11-17 at 4 59 38 pm

_download number using shields_

url: https://img.shields.io/pypi/dm/ipython-dashboard.svg

screen_shot 2015-11-17 at 5 00 30 pm

I'm a little confused, the 721 in 721/month means 721 in total download in the last month or the
average download number per month from the first release of this project ?

thanks

@espadrine
Copy link
Member

We rely on the following data:

curl 'https://pypi.python.org/pypi/IPython-Dashboard/json' | jq .info.downloads

Currently, it returns 779, and the page returns 780 downloads in the last month. Perhaps the API returns the value for the latest version, and the page returns the value for all versions?

@litaotao
Copy link
Author

@espadrine thanks a lot, I this the data fetched from https://pypi.python.org/pypi/IPython-Dashboard/json does not refresh in real time. or at least the fresh time interval is larger than the refresh time of page https://pypi.python.org/pypi/IPython-Dashboard . anyway, it's not a big deal, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants