qwikstart.repository package

Submodules

qwikstart.repository.base module

class qwikstart.repository.base.BaseRepoLoader

Bases: abc.ABC

Base class for loader for qwikstart task repos.

can_load_spec() → bool

Return true if this loader can load the qwikstart task spec.

load_raw_task_spec() → Dict[str, Any]

Return raw task specification loaded from qwikstart repo.

spec_path

Return local path to qwikstart repo.

qwikstart.repository.git module

class qwikstart.repository.git.GitRepoLoader(git_url: str, path: str = '')

Bases: qwikstart.repository.base.BaseRepoLoader

Loader for qwikstart task repos stored in git repos.

can_load_spec() → bool

Return true if this loader can load the qwikstart task spec.

load_raw_task_spec() → Dict[str, Any]

Return raw task specification loaded from qwikstart repo.

spec_path

Return local path to qwikstart repo.

qwikstart.repository.git.download_git_repo(repo_url: str, local_path: pathlib.Path) → None
qwikstart.repository.git.get_local_repo_path(url: str) → pathlib.Path
qwikstart.repository.git.resolve_git_url(url: str) → str
qwikstart.repository.git.update_git_repo(local_path: pathlib.Path) → None

qwikstart.repository.local module

class qwikstart.repository.local.LocalRepoLoader(path: str)

Bases: qwikstart.repository.base.BaseRepoLoader

Loader for qwikstart task repos stored on the local filesystem.

can_load_spec() → bool

Return true if this loader can load the qwikstart task spec.

file_loader = <qwikstart.repository.local.YamlFileLoader object>
load_raw_task_spec() → Dict[str, Any]

Return raw task specification loaded from qwikstart repo.

spec_path

Return local path to qwikstart repo.

class qwikstart.repository.local.YamlFileLoader

Bases: object

can_load(file_path: pathlib.Path) → bool
known_extensions = {'.yaml', '.yml'}
load(file_path: pathlib.Path) → Dict[str, Any]

Module contents

class qwikstart.repository.BaseRepoLoader

Bases: abc.ABC

Base class for loader for qwikstart task repos.

can_load_spec() → bool

Return true if this loader can load the qwikstart task spec.

load_raw_task_spec() → Dict[str, Any]

Return raw task specification loaded from qwikstart repo.

spec_path

Return local path to qwikstart repo.

class qwikstart.repository.GitRepoLoader(git_url: str, path: str = '')

Bases: qwikstart.repository.base.BaseRepoLoader

Loader for qwikstart task repos stored in git repos.

can_load_spec() → bool

Return true if this loader can load the qwikstart task spec.

load_raw_task_spec() → Dict[str, Any]

Return raw task specification loaded from qwikstart repo.

spec_path

Return local path to qwikstart repo.

class qwikstart.repository.LocalRepoLoader(path: str)

Bases: qwikstart.repository.base.BaseRepoLoader

Loader for qwikstart task repos stored on the local filesystem.

can_load_spec() → bool

Return true if this loader can load the qwikstart task spec.

file_loader = <qwikstart.repository.local.YamlFileLoader object>
load_raw_task_spec() → Dict[str, Any]

Return raw task specification loaded from qwikstart repo.

spec_path

Return local path to qwikstart repo.