- Install uv, if not already installed.
curl -LsSf https://astral.sh/uv/install.sh | sh
- Run a Marimo notebook using uv.
uv run marimo run pnl.py
These are a collection of Marimo notebooks that showcase exploring beancount plaintext accounting data in various ways.
All of them should be runnable from this directory directly with uv which will handle installing the dependencies in a virtual environment for you.
uv run marimo edit <filename.py>
Somewhere in each file should be a variable beancount_file (or similar)
which you will need to edit to point to your actual beancount file if you want
to use non-demo data.
If you want to create your own, you can copy this file which has a few cells to help you get up and running quickly.
cp template.py my_experiment.py
marimo edit allows you to edit the notebook, marimo run doesn't. This read-only version of the notebook is suitable for serving as a simple app to non-technical users.
There are example beancount files provided from the fava project to let you get started right away with examples and demos.