List PyPI packages by popularity

Question:

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.

Asked By: styts

||

Answers:

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

https://pythonwheels.com

Answered By: David Anderson

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

Answered By: Adam Stewart

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

Answered By: mhsmith

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.

Answered By: Hugo

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

Answered By: Adrian Stanculescu
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.