Skip to content

Add chapters 16-20: Type Hints, Networking, Database, Packaging, Python Internals - #5

Merged
leandro-mana merged 1 commit into
mainfrom
feature/chapters-16-20
Feb 20, 2026
Merged

Add chapters 16-20: Type Hints, Networking, Database, Packaging, Python Internals#5
leandro-mana merged 1 commit into
mainfrom
feature/chapters-16-20

Conversation

@leandro-mana

Copy link
Copy Markdown
Owner

Summary

  • Chapter 16: Type Hints and Static Analysis — annotations, generics, TypeVar, Protocol, overload, Literal, mypy
  • Chapter 17: Networking and Protocols — TCP/UDP sockets, urllib, HTTP patterns, asyncio networking
  • Chapter 18: Database Access — sqlite3, parameterized queries, transactions, row factories, repository pattern
  • Chapter 19: Packaging and Distribution — venv, pyproject.toml, build backends, entry points, wheels, PyPI
  • Chapter 20: Python Internals and Performance — memory model, GC, profiling, bytecode, slots, optimization

Also updates README intro wording from "from" to "inspired by" for copyright clarity.

Each chapter includes 3 Jupyter notebooks, a README, __init__.py, and test file (43 new tests, 180 total passing).

Test plan

  • ruff check — linting clean
  • ruff format — formatting clean
  • mypy — type checking clean
  • pytest — 180 tests passing (43 new)

🤖 Generated with Claude Code

…Python Internals

Also update README intro wording to clarify original content inspired by the book.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@leandro-mana
leandro-mana merged commit bd5a21b into main Feb 20, 2026
6 checks passed
@leandro-mana
leandro-mana deleted the feature/chapters-16-20 branch February 20, 2026 12:10
@leandro-mana leandro-mana added chapter New chapter content notebooks Jupyter notebook changes tests Test additions or changes labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chapter New chapter content notebooks Jupyter notebook changes tests Test additions or changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant