English
Topic 16. Packaging and distributing Python applications, generic types, and static code analysis
Goal: learn to build and verify a local wheel, apply generic types and static analysis, and build an application together with its required resources.
Lecture contents
- Packages, distributions, and pyproject.toml — Import packages and distributions · Project structure and pyproject.toml · Example 1. A library and a console entry point
- Versions, builds, and distribution — Versions, dependencies, and reproducibility · Building and clean installation · Package registries and executable applications
- Generic types and protocols — Example 2. Generic collections · Example 3. A repository as a structural contract
- Static analysis and releases — More precise annotations and the limits of static checking · Example 4. Pre-release checks · Automation and the final check