Packaging and Environments - Module Overview
Master Python packaging and environments at full engineering depth - virtual environments, pip and lockfiles, pyproject.toml, Poetry, semantic versioning, and publishing to PyPI for production-grade projects.
Packaging Projects - Overview
Overview of hands-on projects for Module 05 - Packaging and Environments. Build, test, version, and publish a real Python utility package from scratch.
pip and requirements - Dependency Management in Practice
Master pip and requirements files at full engineering depth - dependency resolution, version specifiers, pip-tools lockfiles, layered requirements, hash verification, supply-chain security, and private package indexes for production workflows.
Poetry - Dependency Management and Packaging Done Right
Master Poetry at engineering depth - lockfile mechanics, version constraints, dependency groups, virtualenv management, publishing, and CI integration for reproducible Python builds.
Project 01 - Publish an Internal Utility Package
Build, test, version, and publish pyutils-engineersofai - a typed Python utility library with src/ layout, hatchling build backend, full pytest coverage, CHANGELOG, and GitLab CI pipeline that publishes on v* tags.
Publishing Packages - From Source to PyPI
Master Python package publishing at engineering depth - sdist vs wheel formats, build backends, TestPyPI workflow, twine and Poetry publishing, API tokens, private registries, and automated CI/CD release pipelines.
pyproject.toml - The Modern Python Project Standard
Master pyproject.toml at full engineering depth - PEP 517/518/621 build system specification, build backends, the full project table, optional dependencies, entry points, tool configuration, src layout, dynamic versioning, and building distribution artifacts.
Python pip and Requirements Practice Problems & Exercises
Solve 11 Python pip and requirements problems. Covers pip practice, requirements.txt exercises. Hints and solutions.
Python Poetry Practice Problems & Exercises
Solve 11 Python poetry problems. Covers poetry practice, poetry lockfile, poetry dependency. Hints and solutions.
Python Publishing Packages Practice Problems & Exercises
Solve 11 Python publishing packages problems. Covers pypi upload, wheel sdist, twine upload. Hints and solutions.
Python pyproject.toml Practice Problems & Exercises
Solve 11 Python pyproject.toml problems. Covers pyproject.toml practice, PEP 517, build backend. Hints and solutions.
Python Semantic Versioning Practice Problems & Exercises
Solve 11 Python semantic versioning problems. Covers semver python, version specifiers, breaking changes. Hints and solutions.
Python venv and virtualenv Practice Problems & Exercises
Solve 11 Python venv and virtualenv problems. Covers venv practice, virtualenv exercises, venv activation. Hints and solutions.
Semantic Versioning - The Contract Behind Every Version Number
Master Semantic Versioning at engineering depth - MAJOR.MINOR.PATCH definitions, breaking change classification, Python version specifiers, pre-release ordering, CalVer, changelog discipline, and Git tagging for releases.
venv and virtualenv - Python Environment Isolation
Master Python virtual environments at full engineering depth - how venv works at the filesystem level, PATH manipulation, pyvenv.cfg, pyenv for Python version management, and why Docker containers are not a substitute for virtual environments.