abx_spec_extractor

Module Contents

Classes

BaseExtractor

Functions

assert_no_empty_args

get_EXTRACTORS

extract

should_extract

Data

__order__

ExtractorName

HandlerFuncStr

CmdArgsList

API

abx_spec_extractor.__order__[source]

10

abx_spec_extractor.assert_no_empty_args(args: List[str]) List[str][source]
abx_spec_extractor.ExtractorName[source]

None

abx_spec_extractor.HandlerFuncStr[source]

None

abx_spec_extractor.CmdArgsList[source]

None

abx_spec_extractor.get_EXTRACTORS()[source]
abx_spec_extractor.extract(uri: str, config: dict | None = None)[source]
abx_spec_extractor.should_extract(uri: str, extractor: str, config: dict | None = None)[source]
class abx_spec_extractor.BaseExtractor[source]
name: abx_spec_extractor.ExtractorName[source]

None

binary: abx_pkg.BinName[source]

None

default_args: abx_spec_extractor.CmdArgsList[source]

[]

extra_args: abx_spec_extractor.CmdArgsList[source]

[]

get_output_path(snapshot) pathlib.Path[source]
should_extract(uri: str, config: dict | None = None) bool[source]
exec(args: abx_spec_extractor.CmdArgsList = (), cwd: Optional[pathlib.Path] = None, installed_binary=None)[source]
property BINARY[source]
detect_installed_binary()[source]
load_binary(installed_binary=None)[source]