On 16/04/2021 00:51, Ben Blount wrote: > Why not write small python scripts whenever you want to do a query?
Because writing single-use Python scripts does not fit my definition of fun. There are much better solutions. > You > could have pre-written scripts with bindable parameters. You could even > go as far as to accept python snippets from the command line, similarly > to how petl does. This is not as easy as it may seem, and a DSL is always going to to offer a much nicer user experience than having to write a Python expression evaluated in an (forcefully) ill-defined context. We already have a very nice DSL to operate on Beancount ledger entries, I don't see why not using it, it works extremely well! Cheers, Dan -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/eb32fe5a-224e-ecd6-d21c-1e56f15e378c%40grinta.net.