r/Python • u/Several-Marsupial-27 • Sep 19 '26
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:
Use
uvfor everything.Use
rufffor linting and formattingUse
Pydanticanddataclassesfor Data ModelingConfigured in
pyproject.tomlUse
pytest/Hypothesisfor testing
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?
5
u/Informal-Butterfly78 Sep 21 '26
I second litestar over fastapi
basedpyright >> pyright imo. Pyrefly is also great.
The Sphinx comment is delusional lol. zensical, mkdocs, mkapi, any one of the 100 other SSG's outside of the Python sphere...
matplottrash is still trash no matter how much they try to revitalize it, though seaborn makes it bearable. I will always wonder why people don't use things like bokeh or plotly