Modern Python Type Hints in 2026 — PEP 695, PEP 705, and the Patterns to Use

What changed in Python’s type system through 2024–2026 — PEP 695 type-parameter syntax, PEP 705 ReadOnly, TypedDict, Protocols, NewType, Self, and the patterns I keep reaching for in production.

April 30, 2026 · 7 min · 1302 words · Manvendra Rajpoot

Pydantic v2 Deep Dive — The Patterns Every Backend Python Developer Needs

Pydantic v2 in production. Model design, validators, serializers, settings, the strict mode, performance characteristics, FastAPI / SQLAlchemy patterns, and the migrations from v1.

April 30, 2026 · 6 min · 1180 words · Manvendra Rajpoot

Polars in 2026 — The DataFrame Library Replacing Pandas in Production

Why Polars is the right DataFrame library for production Python in 2026 — lazy execution, Arrow-backed columnar engine, query optimization, the API differences from Pandas, and a pragmatic migration path.

April 30, 2026 · 5 min · 1026 words · Manvendra Rajpoot

Structured Output for LLMs in 2026 — Pydantic AI, Instructor, and the End of JSON Parsing

Reliable structured output from LLMs in 2026. Pydantic AI, Instructor, OpenAI’s structured outputs / Anthropic tool calling, retry-on-validation patterns, and the end of homemade JSON parsing.

April 30, 2026 · 6 min · 1273 words · Manvendra Rajpoot

Background Jobs in Python — arq, Dramatiq, Taskiq, and Celery in 2026

Picking a Python background job system in 2026. arq for async-native + Redis, Dramatiq for simple + reliable, Taskiq for typed tasks across brokers, Celery for legacy and giant ecosystems. With code, patterns, and a clear decision rule.

April 29, 2026 · 7 min · 1401 words · Manvendra Rajpoot

Modern AsyncIO Patterns in Python — TaskGroup, anyio, and What Changed

Modern asyncio in 2026. Structured concurrency with TaskGroup, ExceptionGroup, timeout/cancellation done right, anyio for cross-runtime portability, and the patterns to use (and avoid).

April 28, 2026 · 7 min · 1379 words · Manvendra Rajpoot

Modern Python Tooling in 2026 — uv, Ruff, ty, and the New Toolchain

Modern Python tooling worth using in 2026 — uv replaces pip/venv/poetry/pyenv, Ruff replaces flake8/black/isort, ty (Astral) is the fast type checker, plus the project layout and pre-commit setup that pulls it together.

April 28, 2026 · 7 min · 1412 words · Manvendra Rajpoot

Django 5 Async — Views, ORM, and Channels in 2026

How async Django actually works in 2026 — async views, the async ORM, sync_to_async/async_to_sync gotchas, ASGI deployment with Daphne/Uvicorn, and where Channels still earns its keep.

April 28, 2026 · 6 min · 1246 words · Manvendra Rajpoot

FastAPI + Pydantic v2 + SQLAlchemy 2.0 — Production Patterns for 2026

A complete, opinionated production layout for FastAPI in 2026. Pydantic v2, async SQLAlchemy 2.0, Alembic, dependency injection, structured errors, settings, logging, and the project skeleton that survives the first 50 endpoints.

April 28, 2026 · 8 min · 1521 words · Manvendra Rajpoot

Anthropic Claude API + Tool Use — A Practical Guide for 2026

How to actually use the Anthropic Claude API in production. Messages format, tool use, prompt caching for 90% cost cuts, structured outputs, streaming, and the gotchas worth knowing.

April 28, 2026 · 6 min · 1207 words · Manvendra Rajpoot