llama.io.registry module

Abstract implementations of LLAMA IO interfaces.

llama.io.registry.get_io(scheme)

Get the llama.classes.IO implementation registered under scheme.

llama.io.registry.get_schemes()

Return a list of available IO scheme names.

llama.io.registry.io_class_from_rundir(rundir)

Parse the IO strategy from the scheme specified by the run directory.

llama.io.registry.register(io_class)

Register a llama.classes.IO implementation for use by LLAMA.

Parameters

io_class (llama.classes.IO) – The IO implementation to register.

Raises

ValueError – If scheme is already registered.