thoth.adviser.wraps package

Subpackages

Submodules

thoth.adviser.wraps.libraries_io module

A wrap that links to information as provided by libraries.io.

class thoth.adviser.wraps.libraries_io.LibrariesIOWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that links to information as provided by libraries.io.

run(state: thoth.adviser.state.State) → None[source]

Add link to information as provided by libraries.io.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

thoth.adviser.wraps.pulp_release module

A wrap that links to a Pulp instance.

class thoth.adviser.wraps.pulp_release.PulpReleaseWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that adds link to Red Hat’s Pulp instance.

run(state: thoth.adviser.state.State) → None[source]

Add a link to Red Hat’s Pulp instance.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

thoth.adviser.wraps.pypi_release module

A wrap that links Python package releases available on PyPI.

class thoth.adviser.wraps.pypi_release.PyPIReleaseWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that adds information about Python packages present on PyPI.

run(state: thoth.adviser.state.State) → None[source]

Add a link to Python package release available on PyPI.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

thoth.adviser.wraps.sort_justifications module

A wrap that sorts justifications.

class thoth.adviser.wraps.sort_justifications.SortJustificationsWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that sorts justifications.

run(state: thoth.adviser.state.State) → None[source]

Sort justifications.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

thoth.adviser.wraps.trove_classifiers module

A wrap that provides information derived from Python trove classifiers.

class thoth.adviser.wraps.trove_classifiers.TroveClassifiersWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that provides information derived from Python trove classifiers.

run(state: thoth.adviser.state.State) → None[source]

Add information derived from Python trove classifiers.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

Module contents

Wrap units implemented in adviser.

class thoth.adviser.wraps.PyPIReleaseWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that adds information about Python packages present on PyPI.

run(state: thoth.adviser.state.State) → None[source]

Add a link to Python package release available on PyPI.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

class thoth.adviser.wraps.PulpReleaseWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that adds link to Red Hat’s Pulp instance.

run(state: thoth.adviser.state.State) → None[source]

Add a link to Red Hat’s Pulp instance.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

class thoth.adviser.wraps.LibrariesIOWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that links to information as provided by libraries.io.

run(state: thoth.adviser.state.State) → None[source]

Add link to information as provided by libraries.io.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

class thoth.adviser.wraps.TroveClassifiersWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that provides information derived from Python trove classifiers.

run(state: thoth.adviser.state.State) → None[source]

Add information derived from Python trove classifiers.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.

class thoth.adviser.wraps.SortJustificationsWrap(*, unit_run: bool = False, configuration: Dict[str, Any] = NOTHING)[source]

Bases: thoth.adviser.wrap.Wrap

A wrap that sorts justifications.

run(state: thoth.adviser.state.State) → None[source]

Sort justifications.

classmethod should_include(builder_context: PipelineBuilderContext) → Generator[Dict[Any, Any], None, None][source]

Include this wrap in adviser, once.