TinyStore
Reference / Backup API for Python
On this page

Reference / Backup API for Python

Backup API for Python

Every public class, function and type of the Backup engine in tinystore, generated from its source. The Backup guide explains how to use them, and the Bun and Node, Go and Rust pages list the same API.

Backup

python
@dataclass(frozen=True, slots=True)
class Backup:
    files: int  # the files, the engines' and those it was told to take
    bytes: int  # their bytes, the zip's own fields aside
    key_left_out: bool  # the store seals values with an encryption key the backup does not hold: they open with that key alone

What a backup holds.

Generated from the source Updated 19 October 2026

esc
↑↓ navigate ↵ open ⇥ filter 0 results