isofit.data.cli

Submodules

Attributes

env

Modules

Functions

runOnAll(func, **kwargs)

Executes a function of each loaded module

download_all(**kwargs)

Downloads all ISOFIT extra dependencies to the locations specified in the

validate_all(**kwargs)

Validates all ISOFIT extra dependencies at the locations specified in the

env_validate(keys[, quiet])

Utility function for the env object to quickly validate specific dependencies

Package Contents

env[source]
Modules[source]
runOnAll(func, **kwargs)[source]

Executes a function of each loaded module

Parameters:
  • func (str) – Name of the function to invoke from the module

  • **kwargs (dict) – Key-word arguments to pass to the function

download_all(**kwargs)[source]

Downloads all ISOFIT extra dependencies to the locations specified in the isofit.ini file using latest tags and versions

validate_all(**kwargs)[source]

Validates all ISOFIT extra dependencies at the locations specified in the isofit.ini file as well as check for updates using latest tags and versions

env_validate(keys, quiet=False, **kwargs)[source]

Utility function for the env object to quickly validate specific dependencies

Parameters:
  • keys (list) – List of validator functions to call

  • quiet (bool, default=False) – Silences the error and debug messages of the validation functions

Examples

>>> env.validate("all")
>>> env.validate("isoplots", path=env.plots, quiet=True)
>>> env.validate(["data", "examples"])
>>> env.validate(["data", "examples"], error=Logger.error, debug=Logger.debug)