Python

Share:

The Python questions were only shown to the developers who chose Python as one of their three primary programming languages.

Which version of Python do you use the most?

2%

I'm not sure

2%

Python 2.x

3%

Python 3.0–3.5

8%

Python 3.6

13%

Python 3.7

23%

Python 3.8

28%

Python 3.9

22%

Python 3.10

1 out of 5 respondents is using the latest version of Python, released in October 2021. Python 3.10 took approximately nine months to reach 22% usage.

What do you use Python for?

43%

Data analysis

43%

Web development

39%

Machine learning

31%

System administration / Writing automation scripts / Infrastructure configuration

30%

Programming of web parsers / scrapers / crawlers

27%

Software testing / writing automated tests

24%

Software prototyping

The use cases of Python have remained stable year-over-year. The most popular fields for Python usage are Data Analysis, Web Development, and Machine Learning.

What web frameworks / libraries do you use in addition to Python?

40%

46%

Flask

39%

45%

Django

20%

14%

FastAPI

3%

4%

Tornado

Considering the downtrend in usage of Python for web Development, it is predictable that the popularity of frameworks such as Flask and Django also declined (approximately six percentage points). At the same time, the popularity of FastAPI has grown. A possible explanation for this is that FastAPI is a modern web framework built for high performance and developer ergonomy. It uses modern Python features like type hinting, has built-in async support, is designed for building APIs with Python, and more.

What data science frameworks do you use in addition to Python?

62%

NumPy

56%

Pandas

43%

Matplotlib

30%

TensorFlow

29%

SciKit-Learn

28%

PyTorch

27%

SciPy

NumPy, Pandas, and Matplotlib remain the most popular frameworks for Data Science tasks.

What of the following frameworks / libraries do you use in addition to Python?

43%

43%

Requests

26%

26%

Pillow

21%

16%

asyncio

15%

17%

Tkinter

14%

19%

Scrapy

The popularity of most frameworks has remained stable year-over-year. One exception is libraries that provide support for asynchronous programming. The asyncio library reached an all-time high in popularity in 2022 (21%), aiohttp showed a slight increase, and httpx showed up for the first time in the survey, being selected by 9% of the respondents.

What other technologies do you use in addition to Python?

25%

ORM

10%

Sphinx

1%

Buildout

1%

Other

67%

None

The vast majority of respondents don’t use other technologies in addition to Python. A quarter of respondents use Object-relational mappers.

Which IDE / editor do you mostly use for Python development?

32%

PyCharm Professional Edition

31%

Visual Studio Code

16%

PyCharm Community Edition

5%

Jupyter Notebook

4%

Vim

3%

IntelliJ IDEA

2%

Sublime Text

Despite all of the measures we’ve taken to secure a representative pool of respondents, the results may be slightly skewed towards users of JetBrains products, as they are more likely to take the survey.

Do you use Language Server Protocol (LSP)?

To learn more about the state of the Python Developer Ecosystem, check out the official Python Developers Survey, created in partnership with the Python Software Foundation.

Thank you for your time!

We hope you found our report useful. Share this report with your friends and colleagues.

If you have any questions or suggestions, please contact us at surveys@jetbrains.com.