r/Python • • Dec 18 '25 • This 1

Discussion Top Python Libraries of 2025 (11th Edition)

We tried really hard not to make this an AI-only list.

Seriously.

Hello r/Python 👋

We’re back with the 11th edition of our annual Top Python Libraries, after spending way too many hours reviewing, testing, and debating what actually deserves a spot this year.

With AI, LLMs, and agent frameworks stealing the spotlight, it would’ve been very easy (and honestly very tempting) to publish a list that was 90% AI.

Instead, we kept the same structure:

  • General Use — the foundations teams still rely on every day

  • AI / ML / Data — the tools shaping how modern systems are built

Because real-world Python stacks don’t live in a single bucket.

Our team reviewed hundreds of libraries, prioritizing:

  • Real-world usefulness (not just hype)

  • Active maintenance

  • Clear developer value

👉 Read the full article: https://tryolabs.com/blog/top-python-libraries-2025

General Use

  1. ty - a blazing-fast type checker built in Rust

  2. complexipy - measures how hard it is to understand the code

  3. Kreuzberg - extracts data from 50+ file formats

  4. throttled-py - control request rates with five algorithms

  5. httptap - timing HTTP requests with waterfall views

  6. fastapi-guard - security middleware for FastAPI apps

  7. modshim - seamlessly enhance modules without monkey-patching

  8. Spec Kit - executable specs that generate working code

  9. skylos - detects dead code and security vulnerabilities

  10. FastOpenAPI - easy OpenAPI docs for any framework

AI / ML / Data

  1. MCP Python SDK & FastMCP - connect LLMs to external data sources

  2. Token-Oriented Object Notation (TOON) - compact JSON encoding for LLMs

  3. Deep Agents - framework for building sophisticated LLM agents

  4. smolagents - agent framework that executes actions as code

  5. LlamaIndex Workflows - building complex AI workflows with ease

  6. Batchata - unified batch processing for AI providers

  7. MarkItDown - convert any file to clean Markdown

  8. Data Formulator - AI-powered data exploration through natural language

  9. LangExtract - extract key details from any document

  10. GeoAI - bridging AI and geospatial data analysis

Huge respect to the maintainers behind these projects. Python keeps evolving because of your work.

Now your turn:

  • Which libraries would you have included?

  • Any tools you think are overhyped?

  • What should we keep an eye on for 2026?

This list gets better every year thanks to community feedback. 🚀

624 Upvotes

109 comments sorted by

View all comments

43

u/SleepWalkersDream Dec 18 '25

Where numpy and scipy?

19

u/Physicle_Partics Dec 18 '25

Do not forget our lord and savior matplotlib.pyplot!

12

u/Zomunieo Dec 18 '25

I’m definitely an atheist as far as that library goes.

1

u/Own_Maybe_3837 Dec 18 '25

Are you in academia?

10

u/ahmadryan Dec 18 '25

Are you kidding? Matplotlib.pyplot is everything for people in academia.

Source: trust me

4

u/SleepWalkersDream Dec 18 '25

Can confirm. PGFplots is also imperial double chocolate coffee stout, but matplotlib hits a sweet spot for me. mhchem and siunitx? Got your back.

1

u/Own_Maybe_3837 Dec 18 '25

I think mhchem 4 has some serious performance issues in large documents. You should check out chemformula

2

u/Own_Maybe_3837 Dec 18 '25

Yeah that’s why I asked. I thought he might know something I didn’t

2

u/jakob1379 Dec 18 '25

Mainly because they haven't dared making a single Google search and realized that seaborn, plotly or any other library than bare bones plt. At least use plt.style.use('ggplot')... Academia does not attest to quality content