Python Cheatsheet 01 — asyncio Essentials

Cheatsheet: async/await basics, asyncio.run, gather vs TaskGroup, timeouts, cancellation.

May 17, 2026 · 3 min · 447 words · Manvendra Rajpoot

Integration Cheatsheet 01 — Full-Stack Project Skeleton

Cheatsheet: directory layout, pyproject, lifespan, db / settings / models / api wiring.

May 16, 2026 · 3 min · 503 words · Manvendra Rajpoot

Alembic Cheatsheet 01 — Setup and env.py

Cheatsheet: alembic init, env.py wiring for SQLAlchemy 2.0, async env.py, naming conventions.

May 15, 2026 · 2 min · 357 words · Manvendra Rajpoot

Pydantic Cheatsheet 01 — BaseModel Basics

Cheatsheet: BaseModel definition, model_validate, model_dump, model_config.

May 14, 2026 · 2 min · 324 words · Manvendra Rajpoot

SQLAlchemy Cheatsheet 01 — Engine, Pool, and Connection

Cheatsheet: create_engine / create_async_engine, pool params, pre-ping, recycle, events, lifespan integration.

May 12, 2026 · 3 min · 459 words · Manvendra Rajpoot

Alembic Textbook Ch. 1 — Introduction and Setup

Alembic basics: setup with SQLAlchemy 2.0, env.py for sync/async, naming conventions, the migration directory.

May 10, 2026 · 3 min · 578 words · Manvendra Rajpoot

Pydantic v2 Textbook Ch. 1 — Introduction and the v2 Mental Model

Pydantic v2 mental model: validation (input → model), serialization (model → output), the Rust core, and what changed from v1.

May 9, 2026 · 3 min · 568 words · Manvendra Rajpoot

SQLAlchemy 2.0 Textbook Ch. 1 — Introduction, Core vs ORM, and the 2.0 Mental Model

SQLAlchemy 2.0 introduction: Core vs ORM, the unified API, engine + connection, basic select / insert / update / delete.

May 7, 2026 · 4 min · 837 words · Manvendra Rajpoot

Python Cheatsheet 02 — Type Hints (Modern)

Cheatsheet: X | None syntax, generics, Protocol, TypedDict, ParamSpec, type guards.

May 17, 2026 · 3 min · 606 words · Manvendra Rajpoot

Integration Cheatsheet 02 — Full Request Lifecycle

Cheatsheet: trace a request from socket to response through all four libraries.

May 16, 2026 · 3 min · 555 words · Manvendra Rajpoot