abx_spec_abx_pkg

Module Contents

Classes

AbxPkgPluginSpec

RequiredSpecsAvailable

Data

PLUGIN_SPEC

TypedPluginManager

pm

API

class abx_spec_abx_pkg.AbxPkgPluginSpec[source]
__order__[source]

10

static get_LIB_DIR() pathlib.Path[source]

Get the directory where shared runtime libraries/dependencies should be installed

static get_BIN_DIR() pathlib.Path[source]

Get the directory where binaries should be symlinked to

static get_BINPROVIDERS() Dict[str, abx_pkg.BinProvider][source]
static get_BINARIES() Dict[str, abx_pkg.Binary][source]
static get_BINPROVIDER(binprovider_name: str) abx_pkg.BinProvider[source]

Get a specific BinProvider by name

static get_BINARY(bin_name: str) abx_pkg.Binary[source]

Get a specific Binary by name

static binary_load(binary: abx_pkg.Binary, **kwargs) abx_pkg.Binary[source]

Load a binary from the filesystem (override to load a binary from a different source, e.g. DB, cache, etc.)

static binary_install(binary: abx_pkg.Binary, **kwargs) abx_pkg.Binary[source]

Override to change how a binary is installed (e.g. by downloading from a remote source, etc.)

static binary_load_or_install(binary: abx_pkg.Binary, **kwargs) abx_pkg.Binary[source]

Override to change how a binary is loaded or installed (e.g. by downloading from a remote source, etc.)

abx_spec_abx_pkg.PLUGIN_SPEC[source]

None

class abx_spec_abx_pkg.RequiredSpecsAvailable[source]

Bases: abx_spec_config.ConfigPluginSpec, abx_spec_abx_pkg.AbxPkgPluginSpec

abx_spec_abx_pkg.TypedPluginManager[source]

None

abx_spec_abx_pkg.pm[source]

‘cast(…)’