dasi.dasi.Dasi

class dasi.dasi.Dasi(config: str)

The Python interface to DASI.

# Import dasi
from dasi import Dasi

# Create new DASI session
dasi = Dasi("config.yaml")
__init__(config: str)

Creates a DASI session.

Parameters:

config (str) – the configuration file.

Methods

__init__(config)

Creates a DASI session.

archive(key, data)

Write data to be stored according to Dasi configuration.

flush()

Flushes all buffers and ensures internal state is safe (wrt failure).

list(query)

List data present and retrievable from the archive

retrieve(query)

Retrieve data objects from the archive

wipe(query[, doit, all])

Wipe data from dasi