hermes.commands.postprocess.base

Classes

HermesPostprocessPlugin

Base class for all HERMES plugins.

_PostprocessSettings

Generic post-processing settings.

HermesPostprocessCommand

Post-process the published metadata after deposition.

Module Contents

class hermes.commands.postprocess.base.HermesPostprocessPlugin

Bases: hermes.commands.base.HermesPlugin

Base class for all HERMES plugins.

Objects of this class are callables.

class hermes.commands.postprocess.base._PostprocessSettings(/, **data: Any)

Bases: pydantic.BaseModel

Generic post-processing settings.

execute: list = []
class hermes.commands.postprocess.base.HermesPostprocessCommand(parser: argparse.ArgumentParser)

Bases: hermes.commands.base.HermesCommand

Post-process the published metadata after deposition.

command_name = 'postprocess'
settings_class
__call__(args: argparse.Namespace) None

Execute the HERMES sub-command.

Parameters:

args – The namespace that was returned by the command line parser when reading the arguments.