Hi, Tonight I implemented a new command to convert from Beancount to an SQL database (SQLite3 implementation).
I did this because I'm iterating on an implementation for the native query syntax for generating reports and I want to also play with another SQL client on a similar corpus of transactions to witness what the pain points are, and to test out how far one can get with what SQL provides. (Note that this is not meant to replace the Beancount query syntax, I don't think you could do, e.g., operations on inventories, closing for balance sheets, and more operations that the native syntax will provide.) The script is here: https://bitbucket.org/blais/beancount/src/20d209db668a803ae8c55187e6faefeb5df7c25e/src/python/beancount/scripts/sql.py?at=default Invoke it with bean-sql filename.beancount filename.db You can test this out on the tutorial example located in "beancount/examples/tutorial/example.beancount". If somebody finds this useful, let me know. Cheers, -- --- 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]. For more options, visit https://groups.google.com/d/optout.
