46 Python Statistics for 2026
Python leads 5 major language indexes and counts 22.9 million developers worldwide. 46 statistics on usage, frameworks, AI adoption, and salaries for 2026.

Python leads 5 major language indexes and counts 22.9 million developers worldwide. 46 statistics on usage, frameworks, AI adoption, and salaries for 2026.

57.9% of developers worldwide use Python as of 2025, a 7 percentage point rise from the year before, the largest single-year jump for any major programming language. Python ranked #1 on the TIOBE index in January 2026 with the largest lead over a second-ranked language in the index's 23-year history. At the same time, Python overtook JavaScript as the top language on GitHub for the first time in a decade.
You'll find all of this tied to one driver: AI. Python's domination of machine learning tooling, AI job postings, and data infrastructure is reshaping hiring, compensation, and how developers choose their first language. Below, 46 Python statistics organized by theme, with every data point sourced inline.
Python's lead at the top of the programming language charts has become structural, not cyclical. Five separate ranking systems now put it at #1, and in most cases the gap over second place keeps widening.
1. 57.9% of developers use Python as of the Stack Overflow 2025 Developer Survey, a 7 percentage point rise from 2024 and the largest single-year increase recorded for any major programming language.
2. 56.4% of developers who know Python say they want to continue using it, per Stack Overflow's 2025 admiration rating, one of the highest scores among all languages surveyed.
3. Python holds a 22.61% rating on the TIOBE index as of January 2026, the largest lead over any second-ranked language in the index's 23-year history.
4. Python's peak TIOBE share reached 26.98% in July 2025, the highest any single language has achieved in TIOBE's recorded history.
5. The PYPL index (which measures how often language tutorials are searched on Google) shows Python at 29.4% share as of October 2025, more than double second-place Java's 14.0%.
6. Python overtook JavaScript as the most popular language on GitHub in 2024, measured by total activity across commits, issues, and pull requests. This was the first time any language unseated JavaScript in a decade.
7. Python ranked #1 in IEEE Spectrum 2025 Top Programming Languages in both the overall "Spectrum" ranking and the dedicated "Jobs" ranking, the latter being a first for Python.
8. 34% of developers name Python as their primary programming language per the JetBrains 2025 Developer Ecosystem Survey, putting it ahead of JavaScript, Java, and TypeScript.
Python's community grows faster than any other major language. The numbers below point to why: a combination of a low entry barrier, strong tooling, and AI-driven hiring is pulling new developers in at scale.
9. 22.9 million Python developers are active worldwide, per Developer Nation's latest estimate, a figure that has nearly doubled over the past six years.
10. Python's global developer base has added approximately 1 million new developers per year for four consecutive years, per Developer Nation data.
11. 72% of respondents to the 2024 Python Survey use Python for professional work, with the remainder split between education and personal projects.
12. 39% of participants in the 2024 Python Survey started using Python within the past two years, signaling that new adoption remains rapid even as the language matures.
13. 50% of respondents to the 2024 survey have less than two years of professional coding experience, reflecting Python's continued role as a first language for developers entering the field.
14. 20 of the 25 largest U.S. unicorn companies use Python in development, a list that includes Airbnb, DoorDash, Instacart, and SpaceX, per Coding Dojo Research.
15. More than 30,000 Python developers and enthusiasts from nearly 200 countries participated in the 2024 Python Developer Survey, the largest response total in the survey's history.
Python's versatility across data work, web development, and machine learning is a core reason for its dominance. No other language covers all three at production scale with comparable library support.
16. 51% of Python developers use Python for data exploration and processing, making it the single most common application, ahead of web development and machine learning.
17. 46% of Python developers use Python for web development, ranking it a close second behind data work and reflecting the continued relevance of Django and FastAPI in production systems.
18. 41% of developers use Python for machine learning, a share that has grown each year as pre-trained models and inference libraries make ML tasks more accessible to generalist developers. For a step-by-step walkthrough of ML workflows in Python, see our guide to Python for data science.
19. 53% of Python developers deploy applications in containers, making containerization the most common packaging and deployment approach in the ecosystem.
20. 28% of Python developers use serverless architectures, pointing to Python's growing role in cloud-native, event-driven systems where cold start times and lightweight runtimes are the priority.
The Python framework landscape shifted in 2024. FastAPI's rise is the headline story, but the real pattern is that the community is adding powerful new tools (uv, Polars) while established libraries (Pandas, NumPy, PyTorch) hold their positions at near-universal adoption.
21. FastAPI's adoption reached 38% among Python web developers in 2024, up from 29% in 2023, the largest single-year gain for any framework in the Python ecosystem. JetBrains called it the top growth story in Python web development.
22. FastAPI grew from 14% adoption in 2021 to 38% in 2025, making it the fastest-growing major Python framework over a four-year span. It is used in production at Microsoft, Netflix, Uber, and Hugging Face. For a hands-on guide, see our FastAPI tutorial.
23. Flask leads all Python web frameworks in raw downloads with approximately 40 million monthly downloads on PyPI, a number driven largely by educational use and legacy codebases.
24. 48% of Python developers use VS Code as their primary editor, up from 41% in the prior survey. PyCharm dropped from 31% to 25% over the same period.
25. uv, the Rust-based package installer and resolver created by Astral, reached 11% usage within a year of wide availability, the fastest initial uptake for any new Python tooling in recent memory. OpenAI acquired Astral in March 2026.
26. 80% of developers working on data exploration and processing use Pandas as their primary data manipulation library, cementing its status as the default table for Python data work.
27. 75% of data scientists use NumPy for numerical computing, making it the most foundational library in the scientific Python stack.
28. 57% of research teams relied on PyTorch between 2020 and 2024, establishing it as the dominant deep learning framework in both academic research and production AI systems.
29. TensorFlow holds 38.78% of the ML framework market as measured by 6sense Insights, keeping it as a major force in production inference pipelines even as PyTorch dominates on the research side.
Python's lead in AI is not incidental. It arrived early with NumPy and scikit-learn, then absorbed PyTorch and the transformer era. The statistics below show how deeply Python has become synonymous with AI infrastructure at every layer: tooling, research, hiring, and investment.
30. Python was mentioned in 199,213 AI job postings in 2024, a 527% increase compared to the 2012-2014 baseline, per the Stanford HAI AI Index 2025.
31. Python powers approximately 582,000 AI-tagged repositories on GitHub's Octoverse, the largest concentration of AI code in any single language. A 92% surge in Jupyter Notebook activity and nearly 60% more total contributions to all generative AI projects in 2024 show the depth of Python's reach into AI workflows.
32. 51% of professional developers report using AI coding tools every day, per Stack Overflow 2025, and the majority of those tools are trained on and primarily interact with Python codebases.
33. AI and machine learning are projected to contribute $14 trillion to global GDP over the next decade, an economic shift that runs on Python libraries, inference engines, and automation tooling at every layer.
34. The 2024 PyTorch Conference attracted nearly 1,500 AI practitioners, reflecting the rapid growth of the Python-based deep learning practitioner community.
Python skills translate directly into hiring leverage. The numbers below show both the scale of demand and the salary premium that follows for developers who specialize in AI and data work.
35. The average U.S. mid-level Python developer earns $125,499 per year per Indeed salary data from February 2026.
36. Senior Python developers average $141,976 per year in the U.S. according to ZipRecruiter, with Google roles ranging from $134K to $217K depending on level and location.
37. The U.S. Bureau of Labor Statistics projects 15% employment growth for software developers from 2024 to 2034, five times the 3% average for all occupations.
38. ~129,200 openings are projected per year for software developers from 2024 to 2034, driven by demand for AI systems, cloud infrastructure, and automation tooling, all categories where Python dominates.
39. Demand for Python skills in the U.S. tech sector grew 153% year-over-year in June 2025, per CompTIA's labor market analysis, outpacing every other major programming language.
40. 40% of recruiters globally list Python as a required skill, making it the most sought-after programming language ahead of JavaScript and Java, per the CoderPad State of Tech Hiring 2025 report.
41. 44% of organizations increased compensation for AI and machine learning skills in 2025, per Robert Half's tech compensation report, with ML engineers and AI specialists commanding $180,000 to $450,000 in annual earnings.
The Python ecosystem is large enough to be self-reinforcing: more packages attract more developers, more developers produce more packages. The numbers below show both the scale of that ecosystem and where version adoption currently sits.
42. PyPI hosts over 815,594 Python packages as of 2025-2026, totaling approximately 39.1 TB of software, the largest language-specific package repository in the world by package count.
43. 35% of developers use Python 3.12 as their primary version, making it the most widely adopted release despite not being the latest, a typical production adoption curve.
44. Only 15% of developers have adopted Python 3.13, the most recent GA release, reflecting the inertia common in production environments where upgrade risk outweighs new feature access.
45. 53% of developers who have not upgraded to 3.13 say their current version meets their needs. Compatibility concerns account for 27%, and time constraints for 25%.
46. Enterprise Python usage is forecasted to grow 25% by end of 2025, driven by AI infrastructure buildout, data engineering pipeline expansion, and Python's consolidation as the default language for automation at scale. For a practical look at how this plays out in production workflows, see our Python automation guide.
The data points to three overlapping shifts. First, Python has moved from "popular scripting language" to foundational infrastructure for AI and data systems.
When 40% of global recruiters require Python skills and demand grew 153% in a single year, that is no longer a trend. It is the baseline expectation for technical roles across industries.
Second, FastAPI's jump from 14% to 38% adoption since 2021 is the clearest example. The async, type-annotated patterns it promotes have shifted from "modern practice" to baseline Python web knowledge. VS Code's rise to 48% market share alongside tools like uv signals a toolchain overhaul in progress.
Third, specialization pays. AI-related roles grew from 2% to 10% of developer positions between 2022 and 2024, with 44% of organizations raising pay for those skills in 2025.
If you work in data engineering, ML inference, or AI automation, the salary ceiling runs $180,000 to $450,000 for specialist roles, versus $125,000 to $142,000 for general Python development. Both hiring volume and compensation point in the same direction.