Skip to content

Add chapters 26-30: Async, Multiprocessing, CLI, DateTime, Data Formats - #7

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

Add chapters 26-30: Async, Multiprocessing, CLI, DateTime, Data Formats#7
leandro-mana merged 1 commit into
mainfrom
feature/chapters-26-30

Conversation

@leandro-mana

Copy link
Copy Markdown
Owner

Summary

  • Chapter 26: Async Programming — coroutines, event loop, asyncio.run(), create_task, gather, semaphores, async iterators/generators/context managers, producer-consumer
  • Chapter 27: Multiprocessing and Parallelism — Process, Pool, Queue, Pipe, Value, Array, Manager, locks, ProcessPoolExecutor, CPU-bound vs I/O-bound
  • Chapter 28: Command-Line Interfaces — argparse positional/optional args, types, choices, nargs, subparsers, mutually exclusive groups, os.environ, sys.argv, exit codes
  • Chapter 29: Date, Time, and Scheduling — date, time, datetime, timedelta arithmetic, zoneinfo, aware vs naive, timezone conversion, strftime/strptime, ISO 8601, calendar
  • Chapter 30: XML, HTML, and Data Formats — xml.etree.ElementTree, XPath, html.parser, html.escape, configparser, tomllib, CSV dialects, struct packing, plistlib

Each chapter includes 3 Jupyter notebooks, a README, and a comprehensive test file (63 new tests, 243 total).

Test plan

  • ruff check . — all checks passed
  • ruff format --check . — 55 files already formatted
  • mypy . — no issues found in 28 source files
  • pytest — 243 tests passed in 0.75s

Note: This PR is based on main before PR #6 was merged. It may need a rebase after PR #6 is merged.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@leandro-mana
leandro-mana force-pushed the feature/chapters-26-30 branch from 0d99163 to 856e087 Compare February 20, 2026 12:08
@leandro-mana
leandro-mana merged commit 65b77fb into main Feb 20, 2026
6 checks passed
@leandro-mana
leandro-mana deleted the feature/chapters-26-30 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