Re: Balance report and other common reports in v3?

2024-03-25 Thread Martin Blais
On Mon, Mar 25, 2024 at 6:58 PM fin  wrote:

> John Lee wrote:
>
> > I'm new to beancount (but not to PTA, though rusty).  I should have read
> the docs for v3 first, but I was surprised to see there's no bean-report in
> v3.
> >
> > What do people use to get e.g. a balance report?  Same question for
> whatever other reports people regularly find useful?
>

bean-query




> >
> > I see there's beanquery split out into a separate repo.  Do people
> really use that just to get a balance report?  (I don't mean to suggest
> that's bad if that's the way people do it, I just suspect I'm missing
> something)
>

yes
bean-query has moved to its own repository.
You can also build scripts against the API



>   a good question and one that will be followed by me.  :)
>
>   the two reports i use constantly right now are balance (bal)
> and networth (netw).  i haven't had time to worry about writing
> either of those using the query language because i'd like to
> finish my conversion efforts before the spring planting season
> gets here (i'm not sure i'll get all of it done, but i am
> making progress :) ).
>
>   that said, perhaps someone else has already written them?
>

balance you can do with a "select account, sum(position) ... group by
account".
net worth requires a custom script, especially depending on what you

here's something I wrote a long while ago:
https://github.com/beancount/beanlabs/blob/master/beanlabs/compensation/net-worth-over-time.py




>
>
>   fin
>
> --
> 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/d4c9dk-06o.ln1%40anthive.com.
>

-- 
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/CAK21%2BhPZkrWbCTAH2HX3xckL_ogN9i9FxCsg7wjJy3S2wMEj9w%40mail.gmail.com.


Re: Balance report and other common reports in v3?

2024-03-25 Thread John Lee
On Mon, 25 Mar 2024, at 22:57, fin wrote:
> finish my conversion efforts before the spring planting season
> gets here (i'm not sure i'll get all of it done, but i am
> making progress :) ).

By conversion efforts do you mean you're working on re-writing those reports 
for v3, for public consumption?

If yes, how are you implementing them?  (e.g. in Python, or with beanquery, 
...?)

-- 
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/301f4637-09d6-4fbf-9e1d-62b90ff7bf6b%40app.fastmail.com.


Re: Balance report and other common reports in v3?

2024-03-25 Thread fin
John Lee wrote:

> I'm new to beancount (but not to PTA, though rusty).  I should have read the 
> docs for v3 first, but I was surprised to see there's no bean-report in v3.
>
> What do people use to get e.g. a balance report?  Same question for whatever 
> other reports people regularly find useful?
>
> I see there's beanquery split out into a separate repo.  Do people really use 
> that just to get a balance report?  (I don't mean to suggest that's bad if 
> that's the way people do it, I just suspect I'm missing something)

  a good question and one that will be followed by me.  :)

  the two reports i use constantly right now are balance (bal)
and networth (netw).  i haven't had time to worry about writing
either of those using the query language because i'd like to
finish my conversion efforts before the spring planting season
gets here (i'm not sure i'll get all of it done, but i am
making progress :) ).

  that said, perhaps someone else has already written them?


  fin

-- 
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/d4c9dk-06o.ln1%40anthive.com.


Balance report and other common reports in v3?

2024-03-25 Thread John Lee
I'm new to beancount (but not to PTA, though rusty).  I should have read the 
docs for v3 first, but I was surprised to see there's no bean-report in v3.

What do people use to get e.g. a balance report?  Same question for whatever 
other reports people regularly find useful?

I see there's beanquery split out into a separate repo.  Do people really use 
that just to get a balance report?  (I don't mean to suggest that's bad if 
that's the way people do it, I just suspect I'm missing something)

-- 
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/d64fbd0a-bc2c-4fbc-8689-f1ec30216c83%40app.fastmail.com.