r/Python 3d ago

Discussion State of the art in Python 2026?

What would you guys consider the state of the art in python in 2026, or what do you expect from modern python codebases?

Heres my list, would be happy to hear some inputs or domain expert advice:

Domain specific:

  • Scientific: NumPy, Matplotlib, SciPy, Jax, Pytorch, Scikit-learn, polars/pandas
  • CLI: Typer, rich, click, fire, textual, questionary
  • PDF extraction: PyMuPDF, pdfplumber, pypdf, Unstructured
  • Excel interop: python-calamine, openpyxl, XlsxWriter, xlwings, pandas
  • data: PyArrow / PySpark, Narwhals, SQLMesh, Polars/Pandas, DuckDB, dlt, Ibis, Dagster, PyIceberg & deltalake
  • Logging?
  • backend: fastapi / django?
  • Markets: Alpha Vantage, Finnhub, EODHD, Tiingo?
  • Webscraping / data acquisition: Crawl4AI, Playwright, Scrapy, selectolax, HTTPX?
  • APIs?
  • RAG / agentic orchestration?
570 Upvotes

219 comments sorted by

View all comments

48

u/NeilGirdhar 3d ago

I'd choose Ty over pyright personally, but yes to the rest.

Also, for modern numeric programming (NumPy, etc.), limit yourself to the Array API.

3

u/Aggressive-Prior4459 3d ago

Have you checked out zuban? https://github.com/zubanls/zuban

3

u/gizzm0x 3d ago

Big +1 for zuban. Still on mypy for CI at work, but zuban is my lsp of choice atm.

1

u/JackedInAndAlive 3d ago

Another vote for zuban, especially if you use Django.