Python Cheatsheet 11 — datetime, zoneinfo, and Time

Cheatsheet: datetime, zoneinfo, ISO 8601, timezone conversion, common pitfalls.

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

Python Cheatsheet 12 — Standard Library Highlights

Cheatsheet: collections, json, os, sys, subprocess, secrets, hashlib, hmac.

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

Redis Cheatsheet 13 — Redis with Python

Cheatsheet: redis-py basics, async, pipelines, pools.

May 27, 2026 · 2 min · 407 words · Manvendra Rajpoot

Python Cheatsheet 13 — httpx (Sync + Async HTTP Client)

Cheatsheet: httpx Client / AsyncClient, requests, timeouts, retries, streaming.

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

Python Cheatsheet 14 — CLI Tools (Typer / Click / argparse)

Cheatsheet: Typer for modern CLIs, Click for power users, argparse for stdlib.

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

Python Cheatsheet 15 — stdlib logging Configuration

Cheatsheet: basicConfig, named loggers, handlers, formatters, dictConfig.

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

Python Cheatsheet 16 — Sets, Dicts, and Common Patterns

Cheatsheet: set/dict operations, merging, grouping, set ops.

May 17, 2026 · 4 min · 667 words · Manvendra Rajpoot

Python Cheatsheet 17 — Strings, f-strings, and Encoding

Cheatsheet: f-string formatting, str methods, bytes/str, encoding, regex basics.

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

Python Cheatsheet 18 — Exceptions and Error Handling

Cheatsheet: try/except/else/finally, raise from, ExceptionGroup, custom hierarchies.

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

Python Cheatsheet 19 — Testing Patterns Beyond pytest Basics

Cheatsheet: unittest.mock, freezegun, snapshot, hypothesis, factory_boy.

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