python/guides at master · flypythoncom/python
Repository navigation
guides
Directory actions
More options
Directory actions
More options
Latest commit
History
History
View commit history for this file.
guides
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
parent directory.. | |||
| ai-coding | ai-coding | ||
| mcp | mcp | ||
| python-engineering | python-engineering | ||
| README.md | README.md | ||
| README_cn.md | README_cn.md | ||
README.md
Guides
Guides explain the engineering decisions behind reliable Python products. Start with the outcome you need:
- Use Python well with AI Coding : give a coding agent enough context, constrain the change, test behavior, and review side effects.
- Context budgeting and bounded tasks : maximize agent accuracy with strict attention budgeting, clear contracts, and automated verification.
- Build a Python product that can be changed safely : turn a script into a product with contracts, boundaries, observability, and a release path.
- Modern Python typing in practice : use Protocol, TypedDict, generics, and static type checking as machine-enforced contracts.
- Reliable async Python patterns : avoid event loop blocking, leverage TaskGroup, and manage concurrency with Semaphore.
- Migrate a Python MCP server to 2026-07-28 : remove the initialize handshake, adopt the input_required round-trip, and drop deprecated features.
For task-sized instructions, use the playbooks . For code you can run immediately, use the examples .