Re: balance

2016-05-22 Thread francois PEGORY
thanks it will be usefull 2016-05-22 21:20 GMT+02:00 Martin Blais : > I've implemented the last idea just for fun--it works: > > > https://bitbucket.org/blais/beancount/commits/2d1940b82d386734df444973a517c6355e010227?at=default > > >

Re: balance

2016-05-22 Thread Martin Blais
I've implemented the last idea just for fun--it works: https://bitbucket.org/blais/beancount/commits/2d1940b82d386734df444973a517c6355e010227?at=default https://bitbucket.org/blais/beancount/src/2d1940b82d386734df444973a517c6355e010227/CHANGES?at=default=file-view-default#CHANGES-7 On Sun,

Re: Querying the journal via JSON using jq

2016-05-22 Thread Martin Blais
On Fri, May 20, 2016 at 1:45 AM, wrote: > Hi, > > I'd like to share a way to query the journal in addition to bean-query. > Using a simple python script, the beancount journal could be converted to > JSON. Then one can use command line JSON tools, for example jq >

Re: Querying the journal via JSON using jq

2016-05-22 Thread Martin Blais
I forget: there's also a simple function to extract metadata from bean-query now: https://bitbucket.org/blais/beancount/src/tip/src/python/beancount/query/query_env.py?fileviewer=file-view-default#query_env.py-543 On Sun, May 22, 2016 at 2:06 PM, Martin Blais wrote: > On