- rewriting bean-web to be a dumber, more generic web interface that basically renders SQL queries (using the new query engine) without any special treatment (just tables and tree-tables)
On Sun, Apr 01, 2018 at 01:53:19AM -0400, Martin Blais wrote:
> - rewriting bean-web to be a dumber, more generic web interface that
> basically renders SQL queries (using the new query engine) without any
> special treatment (just tables and tree-tables)
Given Fava does that too, and also provides useful reporting out of the
box, would it be worth to have another implementation of the same "web
based bean-query console" thing? (Maybe yes, if, say, you consider that
Fava has too many additional dependencies. Asking just to understand
which design constraints you're considering.)
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPZh%2BRSFNoSDZd3PF%3Dh0ki2Utqv%3Dx%2BC%3D6dQpSiwX7S_ew%40mail.gmail.com.
I used bean-report for some simple stuff but never used bean-web, I went straight for fava. Fava has become even easier to use now that it has an electron shell.
I am interested in a more powerful query language because I'm exploring custom reports for my personal ledger. Something separate that works with beancount and can be built upon sounds like a sweet deal :)
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/8b2bcda8-f213-44aa-b999-4b41468a5412%40googlegroups.com.
email to beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/beancount/CAK21%2BhPZh%2BRSFNoSDZd3PF%3Dh0ki2Utqv%
3Dx%2BC%3D6dQpSiwX7S_ew%40mail.gmail.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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAJKAhPD9qna%2BHq73uXsuw%3DNMqE4%3DdroVpm9cvGd1Fqch0eBhMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20180408104254.GA9772%40js-arch.
Throwing my two cents in, I'm a newbie at a point where I'm starting to have an import workflow down and starting to approach writing custom reports. I've been using fava more and it was a selling point (along with some other beancount features) for me at first in using it over ledger. I haven't really used bean-web yet, and only recently started playing with bean-query.
> How many people here use bean-report as their main way to generate data from Beancount?
Might be digressing, but I'm confused about the philosophy behind plugins, custom reports, and queries. Is the convention that users use/write plugins such that the standard reports in bean-report provide what most need? Was there ever a idea of a 'reports' directory (akin to 'importers') convention for additional reports that would then appear under bean-report or fava -- or are additional reports just supposed to be written/executed separately (as seen in some of the scripts in the 'experiments' folder)?
Asking as my intial glance into reports.py (in beancount) and the 'REPORTS' array in application.py (in fava) are initially leading me to think that if one wants to add a report one keeps a personal branch of either project - wondering if there'd be interest in having something like a 'class ConfigReporterMixin' if the output from a report becomes more generic.
-Vivek
(Also, I'm nine days early, but happy tenth anniversary to beancount on the 'initial import' commit!)
On Saturday, March 31, 2018 at 10:53:42 PM UTC-7, Martin Blais wrote:How many people here use bean-report as their main way to generate data from Beancount?How many use bean-web?Does anybody still care about bean-web now that Fava exists?Also... is it possible to bean-bake Fava (or some equivalent creation of a static version for sharing)?Any input appreciated,(Reason I'm asking is: I'm thinking about- rewriting the query engine to something more powerful and general, and promoting it from experimental and somewhat flaky to the main way of getting data out- rewriting bean-web to be a dumber, more generic web interface that basically renders SQL queries (using the new query engine) without any special treatment (just tables and tree-tables)- deleting bean-reports and all of beancount/reports, or replacing most of it by SQL queries- in the process deleting the Holdings codeBasically, I think that with a slightly improved query engine I could delete a ton of code without removing functionality at all.)
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/fc515ea4-eb5b-4d25-84a9-d385022d3370%40googlegroups.com.
SELECT account, sum(position) * -1 WHERE account ~ 'Liabilities:' GROUP BY account;
TypeError: descriptor '__mul__' requires a 'decimal.Decimal' object but received a 'Inventory'
I have a couple use cases for "reports", that I haven't found an easy way to generate yet.
- For my holding, I need to generate tax reports and income and balancesheets at the end of the year. The latter ones are present, but a bit bare (no dates on the page, no formatting for example).
- For a group of friends, I manage the common account. I've set them up as Liabilities, as that's what the account owns to them. But now all balances are inverted, which makes it a bit weird for them. I'd like to just output the Liabilities accounts with balance * -1. (I tried:but that results in "
SELECT account, sum(position) * -1 WHERE account ~ 'Liabilities:' GROUP BY account;
TypeError: descriptor '__mul__' requires a 'decimal.Decimal' object but received a 'Inventory'
". I guess I could export to csv, open in Excel and just add this, but that's cheating :). Ideally I'd add a page to Fava with this "report", but haven't found a way yet.)
How do you all generate your (tax) reports and in what format do you save them?
Regards,
Tino
On Sunday, 1 April 2018 07:53:42 UTC+2, Martin Blais wrote:How many people here use bean-report as their main way to generate data from Beancount?How many use bean-web?Does anybody still care about bean-web now that Fava exists?Also... is it possible to bean-bake Fava (or some equivalent creation of a static version for sharing)?Any input appreciated,(Reason I'm asking is: I'm thinking about- rewriting the query engine to something more powerful and general, and promoting it from experimental and somewhat flaky to the main way of getting data out- rewriting bean-web to be a dumber, more generic web interface that basically renders SQL queries (using the new query engine) without any special treatment (just tables and tree-tables)- deleting bean-reports and all of beancount/reports, or replacing most of it by SQL queries- in the process deleting the Holdings codeBasically, I think that with a slightly improved query engine I could delete a ton of code without removing functionality at all.)
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/da245774-db4e-4e44-ba34-84e5c4bff222%40googlegroups.com.
- For my holding, I need to generate tax reports and income and balancesheets at the end of the year. The latter ones are present, but a bit bare (no dates on the page, no formatting for example).
Do you mean a list of trades? Trades (i.e., "reductions and their corresponding augmentations") are available as metadata. I'm not sure if I ever bothered creating a report for them, but they're available from the stream of transactions, it should be easy to write a script to list them out in your favorite format.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
Sweet, thanks!
- For my holding, I need to generate tax reports and income and balancesheets at the end of the year. The latter ones are present, but a bit bare (no dates on the page, no formatting for example).Do you mean a list of trades? Trades (i.e., "reductions and their corresponding augmentations") are available as metadata. I'm not sure if I ever bothered creating a report for them, but they're available from the stream of transactions, it should be easy to write a script to list them out in your favorite format.
No, I meant the amount of tax I have posted to an account in a certain period. But I saw you also added a QUARTER function, which helps a lot with that!
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/1e8741d6-83b3-42f1-bb24-e5b7a63893e8%40googlegroups.com.