1
0
Export ledger files into a SQLite database
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Tony Grosinger ea6e328bfb Fix bug handling ptags in hledger output
Actual output from hledger is a list of tuples.
2022-07-23 08:30:20 -07:00
.devcontainer Work in progress parsing output from hledger 2022-07-22 10:06:06 -07:00
.vscode Work in progress parsing output from hledger 2022-07-22 10:06:06 -07:00
data Preliminary version seemingly functional 2022-07-22 14:59:19 -07:00
src Fix bug handling ptags in hledger output 2022-07-23 08:30:20 -07:00
.gitignore Work in progress parsing output from hledger 2022-07-22 10:06:06 -07:00
Dockerfile Fix bug handling ptags in hledger output 2022-07-23 08:30:20 -07:00
LICENSE Initial commit 2022-07-22 08:22:38 -07:00
README.md Work in progress parsing output from hledger 2022-07-22 10:06:06 -07:00

Ledger SQLite

A simple containerized utility which creates a SQLite database from the contents of a ledger file. Uses hledger to output JSON which is then transformed into a database schema.

Exports are not designed to be consistent across iterations. It is recommended that you start from a fresh databse every export.

Usage

TBD

Currently planning on designing the container to be able to run as a long-lived job with a cron schedule for exporting. There will also be a method for running as a one-off.