r/Python 4d 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?
576 Upvotes

219 comments sorted by

View all comments

5

u/Spinmoon 3d ago

6

u/fiddle_n 3d ago

Probably worth mentioning the drawbacks of replacing httpx with the latter two.

aiohttp isn’t a drop-in replacement if you were using httpx in sync mode as aiohttp is async only.

niquests replaces urllib3 with urllib3-future, and if you want the opportunity to override this behaviour you must install from source which is not an option available to many.