beanquery
beanquery copied to clipboard
A customizable light-weight SQL query tool that works on tabular data, including Beancount.
Given a ledger like ``` plugin "beancount.plugins.auto_accounts" 2024-06-16 * "Example" Assets:Foo -1000.00 EUR Assets:Foo Expenses:Bar 2.00 EUR 2024-06-17 * "Example" Assets:Foo -1.00 EUR Expenses:Bar ``` trying to compute the maximum...
Are there any migration instructions anywhere? I see https://github.com/beancount/beanquery/blob/master/CHANGES.rst which describes some of the changes but trying to convert my code from beancount 2 over to beanquery is right now...
I'm opening this PR mostly to record some thoughts. What it is implemented here is the bare minimum that would be required to make the `PRINT` statement a special case...
The implemented BQL functions grew organically without too much care for naming the functions consistently. It is a bit of a mess and the naming could certainly use a nice...
The BQL core should not depend on Beancount.
see e.g. https://github.com/WolfgangFahl/pyLoDStorage/blob/master/lodstorage/params.py which does jinja compatible parameter handling and is used in https://github.com/WolfgangFahl/snapquery with demos at https://snapquery.bitplan.com/ and https://genwiki2024.bitplan.com/