dasi package
Submodules
dasi.dasi module
- class dasi.dasi.Dasi(config: str)
Bases:
objectThe Python interface to DASI.
# Import dasi from dasi import Dasi # Create new DASI session dasi = Dasi("config.yaml")
- archive(key, data)
Write data to be stored according to Dasi configuration.
- Parameters:
key – The metadata description of the data to store and index
data – A pointer to a (read-only) copy of the data
- flush()
Flushes all buffers and ensures internal state is safe (wrt failure).
- list(query) List
List data present and retrievable from the archive
- Parameters:
query – A description of the span of metadata to list within
- Returns:
An iterable details of the objects describing data.
- Return type: