Official and Primary References
Python language and standard library
-
Python documentation
https://docs.python.org/ -
Python language reference
https://docs.python.org/3/reference/ -
Python standard library
https://docs.python.org/3/library/ -
Python typing
https://docs.python.org/3/library/typing.html -
Dataclasses
https://docs.python.org/3/library/dataclasses.html -
Contextlib
https://docs.python.org/3/library/contextlib.html -
Import system
https://docs.python.org/3/reference/import.html -
Tracemalloc
https://docs.python.org/3/library/tracemalloc.html
Packaging
-
Python Packaging User Guide
https://packaging.python.org/ -
pyproject.tomlspecification
https://packaging.python.org/en/latest/specifications/pyproject-toml/ -
Packaging projects tutorial
https://packaging.python.org/en/latest/tutorials/packaging-projects/ -
Dependency groups
https://packaging.python.org/en/latest/specifications/dependency-groups/ -
srclayout discussion
https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/
Testing
-
pytest documentation
https://docs.pytest.org/ -
unittest.mock
https://docs.python.org/3/library/unittest.mock.html
Architecture guidance
Architecture decisions in this batch are synthesis and engineering guidance rather than one official Python standard.
Use primary documentation for concrete library behavior and verify the selected framework, database driver, migration tool, broker client, and observability library against their official documentation.