Implement new mapping format

This commit is contained in:
2025-03-02 13:32:08 -05:00
parent 08c50e776e
commit 078bf07d0f
5 changed files with 76 additions and 65 deletions

View File

@@ -4,17 +4,19 @@ Script to transform CSV files into [beancount](https://beancount.github.io/docs/
## Usage
To transform CSV data into Beancount run `toldg` via `python-poetry`.
To transform CSV data into Beancount first install the package via
`poetry install`.
You can then run `toldg` from the directory where your configuration
file and your ledger data is located.
```bash
poetry -P ${LEDGER_DATA_ROOT} run toldg
poetry -P ledgerai run toldg
```
To visualize the data with [fava](https://beancount.github.io/fava/) install all
dependencies via `python-poetry`, enable the venv and run `fava` from there.
To visualize the data with [fava](https://beancount.github.io/fava/), enable the venv and run `fava` from there.
```bash
poetry install
eval "$(poetry env activate)"
fava your_ledger.beancount
```