View source: R/dependencies-python.R
| parse_pyproject_toml | R Documentation |
Simple parser for the [project] dependencies array in pyproject.toml,
where PEP 621 lists runtime dependencies. dependencies arrays in other
tables, such as Hatch's [tool.hatch.envs.*] environments, are ignored.
Entries may use double or single quotes, and # comments are skipped.
Does not handle complex TOML such as multi-line strings, a quoted
["project"] header, or a dotted project.dependencies key.
parse_pyproject_toml(path)
path |
Character string. Path to pyproject.toml. |
A dependency that [tool.uv.sources] takes from git, a URL, a path, or a
workspace member is a direct reference, and one it takes from a named uv
index is listed in indexed.
A list as read_py_requirements() returns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.