Module ds.parsers

Parsers for supported formats.

Sub-modules

ds.parsers.cargo_toml

Cargo.toml parser.

ds.parsers.composer_json

composer.json parser.

ds.parsers.ds_toml

ds.toml parser.

ds.parsers.makefile

Subset of Makefile parser.

ds.parsers.package_json

package.json parser.

ds.parsers.pyproject_pdm

pyproject.toml parser for pdm.

ds.parsers.pyproject_poetry

pyproject.toml parser for poetry.

ds.parsers.pyproject_rye

pyproject.toml parser for rye.

ds.parsers.pyproject_toml

pyproject.toml parser.

ds.parsers.toml

Wrapper around importing tomllib.

ds.parsers.uv_toml

uv.toml parser.

Global variables

var PARSERS : Dict[str, module]

Parsers for specific file names.

Functions

def parse(path: Path, require_workspace: bool = False) ‑> Config

Parse a config file.

def find_and_parse(start: Path, require_workspace: bool = False) ‑> Config

Return the config file in start or its parents.