DEV Community

Hugo van Kemenade
Hugo van Kemenade

Posted on

Python version share over time, 4

To celebrate the release of Python 3.7.3 on 25th March 2019, and with under nine months left for Python 2, here’s some statistics showing how much different Python versions have been used over the past three years.

Here’s the pip installs for all packages from the Python Package Index (PyPI), between January 2016 and March 2019:

pypi

pip

The package installer

pip

six

Python 2 and 3 compatibility library

six

NumPy

Scientific computing library

NumPy

pytest

Testing framework

pytest

Coverage.py

Code coverage testing

coverage

Pillow

Imaging library

pillow

Django

Web framework

django

Matplotlib

2D plotting library

matplotlib

Flake8

Linter

flake8

Pylint

Linter

pylint

pylast

Interface to Last.fm

pylast

How

Statistics were collected using pypi-trends.py, a wrapper around pypinfo to fetch all monthly downloads from the PyPI database on Google BigQuery and save them as JSON files. Data was downloaded over several days as getting all months uses up a lot of free BigQuery quota. Then jsons2csv.py plots a chart using matplotlib. Raw JSON data is in the repo.

See also

Latest comments (2)

Collapse
 
andsemakin profile image
Andrey Semakin

Please update the data! It is less then 2 month left until Python 2 will EOL.

Collapse
 
hugovk profile image
Hugo van Kemenade