List PyPI packages by popularity

19.5k views Asked by At

Is it possible to obtain a list of PyPI packages ordered by popularity (number of total downloads)?

I am unable to find a way to do this on PyPI. Perhaps PyPI provides a database dump for this purpose?

If I'm unable to find a simpler way, I plan to scrape PyPI using their JSON API.

5

There are 5 answers

2
David Anderson On BEST ANSWER

The Python Wheels site lists the top 360 most-downloaded packages on PyPI showing which have been uploaded as wheel archives.

https://pythonwheels.com

2
Adrian Stanculescu On

Have you tried http://nullege.com ? It's a search engine for python packages, contains also examples. Cheers.

0
Hugo On

Top PyPI Packages is a weekly JSON dump of the 4,000 most-downloaded packages from PyPI, one for the last 30 days, and another for the last 365 days.

It uses pypinfo to fetch PyPI download stats from Google BigQuery.

0
mhsmith On

PyPI download logs since October 2016 can be analyzed in great detail at BigQuery. Here's an example query to get the most downloaded packages, but many other dimensions are also available.

Background information (may be somewhat out of date).

0
Adam Stewart On

http://pypi-ranking.info/ is currently down.

Another useful website is http://pythonwheels.com/. It shows the top 360 most-downloaded packages on PyPI. I believe the bar on the right lists these packages in order. Green packages are those that support wheels. White packages are those that don't (yet).