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.

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

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. is currently down.

Another useful website is 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).

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

Have you tried ?
It’s a search engine for python packages, contains also examples.