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
0
u/Several-Marsupial-27 Sep 20 '26
You are touching on a lot of areas and I will try to deconstruct your comment since its big.
I think that there is some miscommunication here. If you are developing in C or Rust, then you shouldnt add python to the codebase just because. Thats not what people are talking about. Using better C/Rust tools like uv/ruff/numpy is for python developers, not Rust developers. Go ahead and write your app in Rust. However if you for example want to allow python interfacing for python developers, then you should add python glue to the app, but even then not even in /src.
3. General benefits of C/Rust-Python interop: Not all developers are systems developers and need to understand C/C++/Rust. Most devs are people who want to implement some idea; Scientists, analysts, engineers, statisticians, high level developers, students, etc. These people WANT to use python due to it being easy to learn and use to create advanced solutions. With Python you can quickly get started with machine learning, signal/image/sound processing, statistics, numerical analysis, engineering, networking, etc really easy with very little code by just importing some libraries. Also creating superb graps with matplotlib super easily. This is due to layers and layers and layers of abstraction from the underlying mechanisms. Being able to just write in python, whilst still reaching into the performance of C/Rust is therefore extremely powerful. Using libraries like numpy, numba, matplotlib, pytorch, SciPy, scikit-learn, sympy, Pillow, ffmpeg-python, OpenCV, pyCuda, etc.