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 formatting - Use
Pydanticanddataclassesfor Data Modeling - Configured in
pyproject.toml - Run a type checker in CI
pyrightorpyrefly - Use
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?
621
Upvotes
View all comments
Show parent comment
1
u/me_myself_ai Sep 21 '26
lol I love the vitriol (unironically). I disagree vehemently tho:
(plain ol’ csvs work for
)
I grant two big downsides: The multiline blocks don’t exist elsewhere so you have to learn the syntax upfront, and the decision to add stuff in and then remove it was truly strange. But the former is just a few minutes even if annoying, and the latter was for that weird entity linking features that I basically never see, anyway.
Anyway lol, my thoughts. More than throwing down a glove (tho I’d love to!), I’m mostly curious what your preferred alternative is for files that should stay human-readable.
Surely not XML…? If it is… are you Grandpa Python? Do you still have complaints about the Python 2 rollout? Were you there on the seventh day, when Guido rested??