--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20210202062819.GE2765%40jirafa.cyrius.com.
Regarding importer development on v2, if I was to make changes to csv.py, will the changes be migrated from the v2 branch into beangulp?
I'm still unsure of how to use beangulp and I would like to make changes to the importers so will I need to port the changes over myself once I familiarise myself with the new world?
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/52473f54-1870-4906-a639-45ddcdb5add3n%40googlegroups.com.
Thank you both,Martin for the beangulp documentation and Dan for the clear instructions.As a result I've managed to convert one of my scripts quite easily.However on running the extract command, I am immediately hit with an issue with the rounding of the amount.What used to be in v22020-12-29 * "INTEREST PAID AFTER TAX 0.00 DEDUCTED, 7.69"Assets:Current:S 7.69 GBPis now2020-12-29 * "INTEREST PAID AFTER TAX 0.00 DEDUCTED, 7.69"Assets:Current:S 7.69000000000000039079850466805510222911834716796875 GBP
I think beangulp is quite neat but I have some concerns around its day to day use but perhaps that is because I have not been using it properly yet.
I have all my importers in their own git repos, most of which are not production ready and so are not on pypi. I guess in fact most peoples importers may be so specific to their needs that they would not be put on pypi either.So in world where we all have multiple importers in development, would the recommendation be a) to install the importers into the venv of beangulp or b) to create a venv for each importer and install beangulp into each or c) some other option?a) Is easier to use because one would not need to switch venvs while importing.b) Protects against package issues between importers.c) Perhaps it's enough to add my importers to the PYTHON_PATH and hope for the best.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/b8f0474c-ee18-46b9-8952-ff56b9e08ddcn%40googlegroups.com.
Thank you both,Martin for the beangulp documentation and Dan for the clear instructions.As a result I've managed to convert one of my scripts quite easily.However on running the extract command, I am immediately hit with an issue with the rounding of the amount.What used to be in v22020-12-29 * "INTEREST PAID AFTER TAX 0.00 DEDUCTED, 7.69"Assets:Current:S 7.69 GBPis now2020-12-29 * "INTEREST PAID AFTER TAX 0.00 DEDUCTED, 7.69"Assets:Current:S 7.69000000000000039079850466805510222911834716796875 GBPThis is likely related to the fact that the display context from your ledger file isn't loaded.(In v3 I'm completely reviewing all the tolerances and precision and how this is done.)
I think beangulp is quite neat but I have some concerns around its day to day use but perhaps that is because I have not been using it properly yet.To be clear, beangulp isn't really a new thing. It's literally the beancount.ingest code I've copied over so we can make it better and evolve it a bit faster.I have all my importers in their own git repos, most of which are not production ready and so are not on pypi. I guess in fact most peoples importers may be so specific to their needs that they would not be put on pypi either.So in world where we all have multiple importers in development, would the recommendation be a) to install the importers into the venv of beangulp or b) to create a venv for each importer and install beangulp into each or c) some other option?a) Is easier to use because one would not need to switch venvs while importing.b) Protects against package issues between importers.c) Perhaps it's enough to add my importers to the PYTHON_PATH and hope for the best.I don't know.We have stable: v2 (beancount v2 + beancount.ingest) and development: beancount/master + beangulp.Choose one.If things occasionally breaking due to changes bothers you, stick with v2.If you want the goodness of new things, and are willing to make changes when necessary, use the master branch and development repos.
Hi all,On Friday, 12 February 2021 at 02:20:11 UTC+1 bl...@furius.ca wrote:Thank you both,Martin for the beangulp documentation and Dan for the clear instructions.As a result I've managed to convert one of my scripts quite easily.However on running the extract command, I am immediately hit with an issue with the rounding of the amount.What used to be in v22020-12-29 * "INTEREST PAID AFTER TAX 0.00 DEDUCTED, 7.69"Assets:Current:S 7.69 GBPis now2020-12-29 * "INTEREST PAID AFTER TAX 0.00 DEDUCTED, 7.69"Assets:Current:S 7.69000000000000039079850466805510222911834716796875 GBPThis is likely related to the fact that the display context from your ledger file isn't loaded.(In v3 I'm completely reviewing all the tolerances and precision and how this is done.)So I have had a success although I don't understand why.
Last night I ended up converting my old import config with all my importers in it into beangulp and since then the display context issue is not visible.
It's strange that it now works given my importers are the same but perhaps the problem depends on the order of loading of importers or the fact that my test script only had one importer?
I think beangulp is quite neat but I have some concerns around its day to day use but perhaps that is because I have not been using it properly yet.To be clear, beangulp isn't really a new thing. It's literally the beancount.ingest code I've copied over so we can make it better and evolve it a bit faster.I have all my importers in their own git repos, most of which are not production ready and so are not on pypi. I guess in fact most peoples importers may be so specific to their needs that they would not be put on pypi either.So in world where we all have multiple importers in development, would the recommendation be a) to install the importers into the venv of beangulp or b) to create a venv for each importer and install beangulp into each or c) some other option?a) Is easier to use because one would not need to switch venvs while importing.b) Protects against package issues between importers.c) Perhaps it's enough to add my importers to the PYTHON_PATH and hope for the best.I don't know.We have stable: v2 (beancount v2 + beancount.ingest) and development: beancount/master + beangulp.Choose one.If things occasionally breaking due to changes bothers you, stick with v2.If you want the goodness of new things, and are willing to make changes when necessary, use the master branch and development repos.After converting my old import config i'm finding the process easy enough. My workflow is entirely in Vim so I've had to learn how to use a virtual environment from inside Vim but that was easy enough.Moving forward as I would like to make changes to the CSV importer so I will use beangulp for importing and beancount v3 as much as possible, but if something breaks, presumably I can continue using beangulp for importing and v2 for the rest?
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/198987ad-03c8-48bc-b848-2ce253e680c5n%40googlegroups.com.
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/7ee5273f-9857-6d83-9f0a-f667ac34c16d%40grinta.net.
--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/YhBQEh7xVdk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/b0a82aaf-9a88-6b59-c444-a7d9571a3411%40grinta.net.
It'd be helpful to release beangulp on PyPI. I'm wondering if there are plans to do so? Thanks.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/d12ddfef-3ee1-486c-8b16-ac064942a2b0n%40googlegroups.com.
Also, there are references to v3 and v2 in README.md, which are now presumably out of date, given beangulp works fine on v2 as well? Should these be updated?
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/379eda71-b8c1-44c7-90c3-65f1c749c7e2n%40googlegroups.com.