stilt.store.Store#

class stilt.store.Store(*args, **kwargs)[source]#

Interface for reading and writing project files by key.

Methods#

delete(key)

Remove key.

exists(key)

Return whether key exists.

local_path(key)

Return a local path to the file stored under key.

publish_file(local_path, key)

Copy a local file into the store under key.

read_bytes(key)

Return the bytes stored under key.

write_bytes(key, data)

Write data under key.