DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,547 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Hugo
Hugo

Posted on

Python version share over time, 6

To celebrate the end of life of Python 2 on 1st January 2020, here’s some statistics showing how much different Python versions have been used over four years.

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

all

pip

The package installer

pip

six

Python 2 and 3 compatibility library

six

NumPy

Scientific computing library

numpy

pytest

Testing framework

pytest

pandas

Data analysis toolkit

pandas

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

TensorFlow

Machine learning library

tensorflow

pylast

Interface to Last.fm

pylast

How

Statistics were collected using pypi-trends.py, a wrapper around pypinfo and pypistats 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

Top comments (2)

Collapse
 
nickcrews profile image
Nick Crews

FYI you can see a live dashboard of the current patterns at pypistats.org/packages/__all__.

Collapse
 
andsemakin profile image
Andrey Semakin

It has been a year since this update! Waiting for a new one! :)
Thanks for the interesting insights!

Take a look at this:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›