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

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

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

LLM Evaluations — How to Test Prompts and Agents Like a Pro

A practical guide to LLM evaluations — what to measure, building eval sets, LLM-as-judge done right, RAG-specific metrics, and integrating evals into CI so you stop shipping silent regressions.

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

Prompt Engineering Patterns That Survive Production

The prompt patterns I keep reaching for in production LLM apps — system prompt structure, role separation, structured output, few-shot, chain-of-thought, prompt caching, and the anti-patterns to skip.

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

Designing REST APIs That Don't Suck

How to design REST APIs that age well: resource modeling, HTTP method semantics, status codes, structured errors, pagination, idempotency, and versioning.

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

A Git Workflow That Doesn't Get in Your Way (Solo Edition)

A pragmatic Git workflow for solo developers and small teams: trunk-based commits, sane branching, rebases without fear, and the recovery commands you’ll thank past-you for memorizing.

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

Testing FastAPI Apps: From Pytest to Database Isolation

A practical guide to testing FastAPI: pytest configuration, async HTTP client, transactional database isolation per test, and fixtures for authentication.

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

Python Decorators Explained — Without the Magic

A from-first-principles tour of Python decorators: what the @ symbol really does, how to write decorators that take arguments, decorators with state, and the patterns you’ll meet in real codebases.

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