Tomllib
tomllib (Python 3.11+) parses TOML configuration files. It is used by pyproject.toml and modern Python project configuration. The guide walks through Reading TOML. `import tomllib`. Open: `with open("pyproject.toml", "rb") as f: data = tomllib.load(f)`. String: `data = tomllib.loads(toml_string)`. Access: `data["project"]["dependencies"]`. TOML supports: strings, numbers, booleans, dates, arrays, inline tables. Use for: pyproject.toml parsing, application configuration, structured settings files. The guide is organized into 1 sections that build on each other, each pairing a prose explanation with runnable code. Related guides: builtins, string, list, dict, os. This is one of 48 Python guides on Python Reference — see the full list on the guides page. Practice what you learn in the Python playground, and look up any unfamiliar term in the Python glossary.