project_meta.project_info_pyproject

Project information based on the pyproject.toml.

class project_meta.project_info_pyproject.ProjectInfoPyProject(*_, **__)

Bases: _ProjectInfoBase

Project information based on the pyproject.toml.

Initialize the project information from pyproject.toml data.

Parameters:
  • project_root (Path) – Path to the project’s root directory.

  • pyproject_data (dict[str, Any]) – Parsed pyproject.toml data.

get_author()

Get the project author.

Returns:

Project author.

Return type:

str

get_description()

Get the project description.

Returns:

Project description.

Return type:

str

get_homepage_url()

Get the project homepage URL.

Returns:

Project homepage URL.

Return type:

str

get_project_name()

Get the project name.

Returns:

Project name.

Return type:

str

get_version()

Get the project version.

Returns:

Project version.

Return type:

str