Amount of PyPI Package Installation Statistics?

I have a package package in the Python Package Index (PyPI). Is there a way to get statistics on how many times they were downloaded (manually or via easy_install or pip ?

Or, conversely, how many views are on the main page of the package?

+15
python pypi
Apr 29 2018-12-12T00:
source share
4 answers

UPDATE 2: back! There is now “Downloads (all versions)” immediately after the list of downloads (below the documents provided by the user).

ad at http://mail.python.org/pipermail/distutils-sig/2013-June/021344.html - it is currently calculated daily; weeks and months will be added as they become available. but, oddly enough, no.

UPDATE: this does not work anymore (information is not displayed) - see http://mail.python.org/pipermail/distutils-sig/2013-May/020855.html (unfortunately, this affects a different answer too).

Perhaps I misunderstand (sorry), but I think this is on the pypi main page for your project!

see the above updates for the latest details (I deleted the information below, which is no longer correct).

+7
Apr 30 '12 at 0:01
source share

There are at least two packages that help with this: pypstats and vanity . Vanity is very easy to use from the command line:

 vanity numpy 

and you will get a printout to the console.

+24
Mar 28 '13 at 0:37
source share

Pip statistics are not available on the pypi.python.org website, and the vanity package also does not work.

Today you can get pips statistics only through this BigQuery dataset: https://bigquery.cloud.google.com/dataset/the-psf:pypi

Sample request for https://pypi.python.org/pypi/dvc package:

 SELECT details.system.name, COUNT(*) as download_count, FROM TABLE_DATE_RANGE( [the-psf:pypi.downloads], DATE_ADD(CURRENT_TIMESTAMP(), -31, "day"), DATE_ADD(CURRENT_TIMESTAMP(), -1, "day") ) WHERE file.project = 'dvc' GROUP BY details.system.name 

Please note that some download signals are generated by monitoring tools and should not be counted as user downloads. For example, you should exclude null values ​​from the output:

 Row details_system_name download_count 1 Darwin 1111 2 null 10000 3 Windows 222 4 Linux 3333 
+7
May 6 '17 at 5:45 a.m.
source share

There is a website that I found: https://pypistats.org/packages/py3-pinterest

They track downloads, but only for 1 day, 1 week, and 1 month. @ Dmitry Petrov's answer is better, though.

0
Aug 26 '19 at 11:35
source share



All Articles