stilt.store.Store#

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

Byte storage addressed by canonical output keys.

Methods#

exists(key)

Return whether key currently exists.

local_path(key)

Return a local filesystem path holding the bytes under key.

publish_file(local_path, key)

Copy one local file into the store under key (no-op if missing).

read_bytes(key)

Return the bytes stored under key.

write_bytes(key, data)

Write data under key.