#Pyproject

2 posts

Python Packaging #3 pyproject.toml: The Standard for Project Configuration
4 min read

Python Packaging #3 pyproject.toml: The Standard for Project Configuration

How the era of setup.py and scattered config files converged into the single pyproject.toml: metadata and dependency declarations in the project table, separating optional features and dev tooling with extras and dependency-groups, the role of build-system, and the practical layout that gathers ruff and pytest settings under the tool table.

Modern Python Basics #7: Modules/packages and pyproject.toml
4 min read

Modern Python Basics #7: Modules/packages and pyproject.toml

The import system, the difference between modules and packages, __init__.py and __main__, and pyproject.toml for dependencies, tool config, and distribution — all in one place.