You should post your code.

python3 -m finance_dl.cli --config-module mybasic_config --config myconfig

should look like this

config-module == mybasic_config.py

config is the  name used (for the function) after CONFIG_ inside the 
mybasic_config.py file

def CONFIG_myconfig():
    return dict(
        module='f',
        credentials={
            'username': '',
            'password': '',
        },
        output_directory=os.path.join(data_dir, ''),
    )




Op maandag 6 januari 2020 11:10:20 UTC+1 schreef Jonathan Goldman:
>
> This post was very helpful. I'm also a newbie and trying to get going on 
> beancount. So far I have a working beancount main file with most of the 
> accounts I want created. I have fava working too but focused more on just 
> getting data in. I got both* beancount-import* and *finance-dl* installed 
> but I can't get finance-dl to work. 
>
> Here is the output I get when I run the finance_dl CLI:
>
> python3 -m finance_dl.cli --config-module mybasic_config --config myconfig
>
>
> Traceback (most recent call last): 
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py"
> , line 193, in _run_module_as_main 
>
>     "__main__", mod_spec) 
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py"
> , line 85, in _run_code 
>
>     exec(code, run_globals) 
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/finance_dl/cli.py"
> , line 91, in <module> 
>
>     main() 
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/finance_dl/cli.py"
> , line 51, in main 
>
>     spec = getattr(config_module, config_key, None)() 
>
> TypeError: 'NoneType' object is not callable
>
>
>
>   
>
> On Sunday, January 5, 2020 at 2:55:15 PM UTC+13, Eugeniu Plamadeala wrote:
>>
>> On Saturday, January 4, 2020 at 3:46:09 PM UTC-8, Philip Curtis wrote:
>>>
>>> Yes, I've been wanting this for years, probably around 15!  I'm 
>>> experimenting with some OCR Python code but wondering if the time 
>>> commitment would be unrealistic for me with also learning Beancount, 
>>> implementing the two, working full time, and having a 3year old and another 
>>> on the way.
>>> Seems like the project for someone single living in their basement <;  
>>> Anyway, I'll continue to research the code.
>>>
>>
>> Let's hope someone steps up then.
>>  
>>
>>> So the properly understand the workflow with Beancount, with I don't 
>>> completely right now, one processes financial data in these steps?
>>> 1) Set up Beancount with all your income and expense accounts, the 
>>> .beancount file(s) are now available
>>> 2) Implement Fava with Beancont
>>> 3) Host all files to your own website servers
>>> 4) Enter financial data through your website by text entry (or Fava GUI?)
>>> 5) Process and graph your financial data via Fava on your website
>>>
>>> Do I have this process correct or am I way off?
>>>
>>
>> Your steps look good, but some alternatives suggested below from personal 
>> experience:
>> 3) I do not host files and Fava on a remote web server, but locally. It 
>> is not necessary to host remotely, and since you seem to care about data 
>> security, I suggest you keep everything on your machine.
>> Furthermore, 
>> 4) I use the finance-dl package to automatically download all my 
>> transactions, as often as I want. It takes a minute. I enter very few 
>> transactions manually. Then, I use the beancount-import package (by the 
>> same author) to import the transactions into my Beancount files. This part 
>> is also very quick (at most 5 minutes per week). Paychecks are one class of 
>> transactions that require significant manual adjustment.
>>
>> Hope this helps.
>>
>> On Saturday, January 4, 2020 at 5:17:37 PM UTC-6, ps150pta wrote:
>>>>
>>>> FWIW about a year ago I ran some experiments passing photos of Whole 
>>>> Foods receipts through AWS Textract. It did pretty well but error rates 
>>>> are 
>>>> still relatively high, too high to be considered reliable enough to fit 
>>>> into a "user-just-confirms" workflow. Some additional work on top of 
>>>> Textract to build receipt-format-specific models could probably get there, 
>>>> tho.
>>>>
>>>> Many cos are successfully processing receipt photos on a commercial 
>>>> basis.
>>>>
>>>> PDFs that are machine produced are definitely processable with 
>>>> commodity tools, the extraction for them works quite well. 
>>>>
>>>> I suspect sometime in the next year or two someone will put together a 
>>>> Jupyter notebook for doing the workflow you describe, building receipt 
>>>> specific models on one of the ML platforms. The basic pieces are there, 
>>>> it's at the level of being a solveable problem for a hobbyist. 
>>>>
>>>>
>>>> On Sat, Jan 4, 2020, 5:12 PM Philip Curtis <[email protected]> wrote:
>>>>
>>>>> Thanks 😁
>>>>>
>>>>> Is #1 possible yet in any software technology yet?
>>>>>
>>>>> Thanks,
>>>>> Phil
>>>>>
>>>>> -- 
>>>>> 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/e47bf4bb-62d0-4641-b0ea-edd4fe845f56%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/3b452163-2673-4373-99fc-74f7316b01ff%40googlegroups.com.

Reply via email to