Skip to main content

Practice ยท 1 of 2

Read the Contract

Implement read_project(pyproject_text) that parses TOML text (tomllib.loads) and returns a dict with keys name, version, and scripts (the [project.scripts] table).

Difficulty: intermediate

Back to lesson: Practice: pyproject.toml Drills