idiap_devtools.python

Functions

dependencies_from_pyproject_toml(path)

Return a list with all project.optional-dependencies.

idiap_devtools.python.dependencies_from_pyproject_toml(path)[source]

Return a list with all project.optional-dependencies.

Parameters:

path (Path) – The path to a pyproject.toml file to load

Return type:

tuple[str, list[Requirement]]

Returns:

A list of optional dependencies (if any exist) on the provided python project.