What you use, what you do | Tech News

A new survey of Python developers shows data analysis and web development have become the major use cases for Python, with machine learning making a strong showing.

Cosponsored by JetBrains, the maker of the PyCharm IDE, and by the Python Software Foundation, the survey amassed results from some 9,500 Python developers in 150 countries.

Python developers: What you use Python for

The results show that the use cases that’s long been associated with Python—scripting, automation, devops, and web scraping—are used by 32 percent to 35 percent of the developers surveyed. But a good 50 percent of them use Python as a data analysis tool—51 percent as their main job with the language, and 46 percent as a secondary task.

Data: JetBrains and Python Software Foundation

Web development was the second most-common case, with 49 percent of the use cases overall (54 percent primary, 33 percent secondary).

Python developers: The tools you use

Another significant metric is the ongoing march of Python 3 as the default Python edition: 75 percent of developers use Version 3 as the default, with 70 percent of web developers and 80 percent of data scientists specifically opting for Version 3. Official support for Python 2 is still slated to end in 2020, but almost all common Python packages in the Python Package Index now support Python 3.

Data: JetBrains and Python Software Foundation

The use of specific, big-name Python frameworks also matches the general rankings of development types. Web framework Django remains the most commonly used Python framework (41 percent of respondents). Flask, another popular and more lightweight web development system, weighs in at 32 percent.

Data: JetBrains and Python Software Foundation

At 39 percent is the mix of libraries used most commonly in data analysis applications: NumPy, Pandas, Matplotlib, SciPy, and so on. Machine learning libraries like TensorFlow, Theano, and Scikit-learn are at 17 percent.

Data: JetBrains and Python Software Foundation

These numbers skew very differentlybased on whether the developer identifies as a web developer, a data scientist, or just an overall Python developer. For web devs, Django and Flask leap to 76 percent and 49 percent; for data scientists and machine learning mavels, NumPy and its friends jump to 65 percent, while the machine learning libraries rise to 38 percent. Only 15 percent of developers total report that they use no additional frameworks.