idiap_devtools.python#

Functions

dependencies_from_pyproject_toml(path)

Returns a list with all project.optional-dependencies

idiap_devtools.python.dependencies_from_pyproject_toml(path)[source]#

Returns a list with all project.optional-dependencies

Parameters:

path (str) – 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.