Yes, many importers are very small and declarative, so they live in the 
module init. Larger importers with logic should be refactored into their 
own file at some point. That'll break import statements for users, which 
needs to be documented.

On Saturday, May 17, 2025 at 7:39:58 AM UTC-7 Alen Šiljak wrote:

> Thanks, man! That looks pretty good. Was definitely in my blind spot, not 
> expecting the importer in the module init.
> Looking forward to trying it out soon! Looks quite comprehensive.
>
> On Sat, 17 May 2025, 10:06 Red S, <[email protected]> wrote:
>
>> Thanks for that link. I have your repo in my little knowledge base. But, 
>> after looking at it, I was under the impression that it only downloads the 
>> report. Pretty much what the ibflex package does. Does your importer also 
>> generates the transactions? Please say yes, this is the only thing 
>> remaining for me and I’ll be travelling next week and won’t have much time 
>> to play around with this.
>>
>> It does both. Download cmd if you store your IBKR token in pass:
>> reds-ibkr-flexquery-download $(pass ibkr_token) 123456 > 
>> ibkr_flex_main.xml 
>>
>> You can use the above in a .cfg for bean-download or run it from the 
>> command line (see the main README.md).
>>
>> Importer is in __init__.py.
>> ​
>>
>> -- 
>>
> 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/2ITgQq2Xun0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>>
> To view this discussion visit 
>> https://groups.google.com/d/msgid/beancount/1955fc65-588c-4445-9fd7-884c55d4490fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/1955fc65-588c-4445-9fd7-884c55d4490fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/beancount/3f98ef8b-8158-4a73-9299-e11b4b2cd658n%40googlegroups.com.

Reply via email to