Module ds.parsers
Parsers for supported formats.
Sub-modules
ds.parsers.cargo_toml-
Cargo.tomlparser. ds.parsers.composer_json-
composer.jsonparser. ds.parsers.ds_toml-
ds.tomlparser. ds.parsers.makefile-
Subset of Makefile parser.
ds.parsers.package_json-
package.jsonparser. ds.parsers.pyproject_pdm-
pyproject.tomlparser forpdm. ds.parsers.pyproject_poetry-
pyproject.tomlparser forpoetry. ds.parsers.pyproject_rye-
pyproject.tomlparser forrye. ds.parsers.pyproject_toml-
pyproject.tomlparser. ds.parsers.toml-
Wrapper around importing
tomllib. ds.parsers.uv_toml-
uv.tomlparser.
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
startor its parents.