Installation¶
Python 3.10 or newer. The database is embedded, so there is nothing to install or run beside the package itself.
From PyPI¶
Check it worked:
Versions are below 0.1.0 on purpose: the API is usable but not frozen. Pin an exact version
if you depend on it.
Without installing anything¶
To try it in a throwaway environment that leaves nothing behind:
From source¶
For the demo, the tests, or to work on the library itself:
Optional extras¶
The demo needs Streamlit and the file parsers:
Everything, including test and documentation tooling:
Dependencies¶
Two at runtime:
arcadedb-embeddedfor the local database. It bundles a JVM, so the wheel is large, around 63 MB. There is no server component.pydanticfor the event schema.
The demo extra adds streamlit, openai, pandas, openpyxl, pypdf, and
python-dotenv.
Running the tests¶
Configuration¶
The library itself needs no configuration. The demo reads OPENROUTER_API_KEY from the
environment or a .env file, and runs without it with the AI chat disabled. Copy
.env.example to .env to set one. The key is never written to the memory database or the
log.
Where data goes¶
Memory("./memory-db") creates and uses that directory. It is the whole database: back it
up, move it, or delete it as a unit. Restrict its permissions to the service user, because
content is stored unencrypted.