On this page
  1. backpack-store
  2. Role
  3. Install
  4. Quickstart
  5. When to Reach for It
  6. Gotchas & Pitfalls
  7. Pairs With
  8. Metadata

backpack-store

Prev: parse-toml | Up: projects | Next: headless-spreadsheets
Rel: wispsy, Foundation, compose-application
Ref: wispsy on GitHub
Tags: #public #wispsy #project #foundation #tier/standard


Role

Experimental programmable local SQLite store for typed records with explicit codecs, local UUID identity, revision-checked updates, provenance, and relational ApplicationStore models (Python 3.11+, zero runtime deps).

Install

python -m pip install backpack-store==0.2.0
# Optional extras: enforce-type (Python 3.14+), pydantic, moves, host
python -m pip install "backpack-store[enforce-type]==0.2.0"

Quickstart

from dataclasses import dataclass
from backpack_store import Backpack, DataclassCodec

@dataclass(frozen=True)
class Note:
    title: str
    body: str

with Backpack.open("notes.sqlite") as store:
    store.register(DataclassCodec(Note, type_key="notes.note"))
    written = store.put(Note("Example", "Local text"), tags=["work"])
    note = store.get(written.id)

When to Reach for It

Gotchas & Pitfalls

Pairs With


Metadata

type: project-card
slug: backpack-store
previous_slug: backpack
org: wispsy
repo: wispsy/backpack-store
package: backpack-store
version: 0.2.0
requires_python: ">=3.11"
layer: foundation
topic: wispsy-foundation
status: experimental
language: python
source_docs: README.md, docs/

Linked from

Related notes