On 14/02/23 11:48, Alexis wrote:
Hello all,

I've been using Ledger's Python API extensively for many years now
and have worked around some of its quirks and limitations in odd ways.

In my mind Ledger's Python API (and Ledger itself) has a lot of
unused potential.

I believe one next step towards unlocking that potential is converting
Ledger's Python module to a Python package.

Hello Alexis,

one of the reasons I switched to Beancount after a brief period using Ledger was indeed the comprehensive Python API offered by Beancount (an easier feat, given that Beancount itself is implemented in Python).

If you are interested in scripting i recommend having a look at Beancount. Beancount syntax is not exactly the same as Ledger syntax, but there is the excellent ledger2beancount project to automate the conversion.

Beancount (by choice) does not implement some of the features of Ledger, but has support for plugins (written in Python) that allow to quite easily fill the gap.

Another selling point for Beancount, if you are interested in analyzing your ledger data in complex ways, is bean-query: an SQL inspired query language for interrogating the ledger data an return in as tables.

Cheers,
Dan

--

--- You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/94ac1a1a-1dd5-7ee1-6fb3-6f92b30ec524%40grinta.net.

Reply via email to