Hi Eric, If you want additional examples and possible improvements, I'll add a couple of links as I was doing similar research recently.
First, uabean that has been recently mentioned in these groups: https://github.com/OSadovy/uabean/blob/master/my_import.py.sample . Besides the example that follows the already mentioned approach, it has definition for "downloaders". Interesting question is how to make it work with Fava: https://fava.pythonanywhere.com/example-beancount-file/help/import, which I haven't researched in detail (it seems to refer to pre-beangulp interfaces which are slightly different so it may be not up-to-date). Then, there's https://github.com/redstreet/beancount_reds_importers that, I believe, uses its own structure but handles all of the same steps. I didn't look into it deeply only because it didn't have any of the specific importers I needed the most. Finally, there's https://github.com/jbms/beancount-import which I ended up using because of the provided conveniences, in particular some auto-classification and a mechanism for matching source and processed data. My example (without any ambition to be perfect or canonical) can be found here: https://github.com/Evernight/beancount-importers. The particular case of usage described here in more details: https://lazy-beancount.xyz/docs/stage2_expenses/automated_import/. There's refactoring that needs to be done but the whole setup is working. I've also seen https://github.com/LaunchPlatform/beanhub-import that seems to be a more recent approach that skips the UI step in favour of the fully automated and pre-configured treatment. Hope it helps! On Sunday, October 6, 2024 at 5:57:42 PM UTC+2 [email protected] wrote: > On Sun, Oct 6, 2024 at 6:46 AM Daniele Nicolodi <[email protected]> wrote: > >> On 02/10/24 05:02, Eric Morgan wrote: >> > My workflow with beangulp is that I have a script that runs import.py >> > for each bank >> >> Why one script for each bank? The framework is written with the intent >> of allowing multiple types of transactions sources to be processed at >> the same time. >> > > +1 > I hadn't seen "for each bank", but indeed, just put all your importers in > the same script. > > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/68b596b9-1559-4b48-bff7-80edd5d65573n%40googlegroups.com.
