kedro.framework.startup.ProjectMetadata

class kedro.framework.startup.ProjectMetadata(config_file: pathlib.Path, package_name: str, project_name: str, project_path: pathlib.Path, project_version: str, source_dir: pathlib.Path)[source]

Structure holding project metadata derived from pyproject.toml

Attributes

config_file

Alias for field number 0

package_name

Alias for field number 1

project_name

Alias for field number 2

project_path

Alias for field number 3

project_version

Alias for field number 4

source_dir

Alias for field number 5

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

property config_file

Alias for field number 0

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

property package_name

Alias for field number 1

property project_name

Alias for field number 2

property project_path

Alias for field number 3

property project_version

Alias for field number 4

property source_dir

Alias for field number 5