hatch.project.core.Project

class hatch.project.core.Project(path: Path, *, name: str | None = None, config=None)

Bases: object

__init__(path: Path, *, name: str | None = None, config=None)

Methods

__init__(path, *[, name, config])

canonicalize_name(name, *[, strict])

ensure_cwd()

expand_environments(env_name)

find_project_root()

from_config(config, project)

get_dependencies()

get_environment([env_name])

initialize(project_file_path, template_config)

prepare_build_environment(*[, targets])

prepare_environment(environment)

save_config(config)

set_app(app)

set_path(path)

Attributes

app

build_env

build_frontend

config

env_metadata

location

metadata

plugin_manager

raw_config

root