Skip to content

Module mnemosine.storage ​

Overview ​

The Storage object: connection lifecycle, schema, factories, and queries.

A Storage wraps a single SQLite database file, its on-disk blob store, and the high-level object model (nodes, files, links, graph, search, vectors). It is the main entry point of the library::

from mnemosine import Storage with Storage("project.db", blob_root="data/blobs") as db: doc = db.node(kind="doc") doc["title"] = "Plan" doc.save()

Class Storage ​

Released under the MIT License.