Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread Christopher Singley
On 5/31/19 12:47 PM, John Ralls wrote: On May 31, 2019, at 8:51 AM, Christopher Singley wrote: On 5/31/19 9:58 AM, John Ralls wrote: The GnuCash API documentation is generated by Doxygen. Some parts are documented better than others. It's built nightly and may be found at

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread John Ralls
> On May 31, 2019, at 8:51 AM, Christopher Singley wrote: > > On 5/31/19 9:58 AM, John Ralls wrote: >> The GnuCash API documentation is generated by Doxygen. Some parts are >> documented better than others. It's built nightly and may be found at >> https://code.gnucash.org/docs/MAINT. >>

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread Sébastien de Menten
Hello Christopher I am the dev of piecash. Regarding the second resolution of datetime, I think I got it by reverse engineering the SQL database format for gnucash books (you can check by introspecting the DB or the XML). Why do you need this very high resolution? I think most of the datetime

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread Christopher Singley
On 5/31/19 9:58 AM, John Ralls wrote: The GnuCash API documentation is generated by Doxygen. Some parts are documented better than others. It's built nightly and may be found at https://code.gnucash.org/docs/MAINT. Regards, John Ralls If I want to find, say, gnc_account_imap_find_account(),

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread John Ralls
> On May 31, 2019, at 4:32 AM, Christopher Singley wrote: > > On 5/30/19 10:23 PM, Christopher Lam wrote: >> Not sure how it works internally. >> >> Perfect matches whereby fitid=online_id are hidden. I'd prefer not to hide, >> but just grayed out... Because it's disconcerting downloading

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread Christopher Singley
Is it a good experience keeping GnuCash books in a SQL backend? There's much better Python tooling if you can make the interface at SQL. Looks like there's piecash, a SQLAlchemy frontend for GnuCash. This looks promising.  It's got good docs, too. Is the piecash documentation correct that

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-31 Thread Christopher Singley
On 5/30/19 10:23 PM, Christopher Lam wrote: Not sure how  it works internally. Perfect matches whereby fitid=online_id are hidden. I'd prefer not to hide, but just grayed out... Because it's disconcerting downloading an ofx and find that the import list is very sparse. Unmatched ofx txns

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-30 Thread Christopher Lam
Not sure how it works internally. Perfect matches whereby fitid=online_id are hidden. I'd prefer not to hide, but just grayed out... Because it's disconcerting downloading an ofx and find that the import list is very sparse. Unmatched ofx txns attempt to match register txns by multiple

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-30 Thread Christopher Singley
On 5/30/19 6:53 PM, Christopher Lam wrote: Thanks, a terminal/keyboard based ui would be an acceptable compromise to get the functionality right; other devs could then convert to C using the python templates. Unfortunately my python is now very rusty compared to my scheme. Anyone is very

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-30 Thread Christopher Lam
Thanks, a terminal/keyboard based ui would be an acceptable compromise to get the functionality right; other devs could then convert to C using the python templates. Unfortunately my python is now very rusty compared to my scheme. Anyone is very welcome to take up the challenge! On Thu., 30 May

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-30 Thread Christopher Singley
On 5/30/19 8:49 AM, Christopher Lam wrote: Hi Csingley I've experimented with your ofxtools and it works well on my bank datafile. Glad to hear it. I've this idea brewing that's quite difficult to do, but would greatly multiply the usability of the current OFX importer. Here's gist of

Re: [GNC-dev] [GNC] ofxtools - a Python OFX library

2019-05-30 Thread Christopher Lam
Hi Csingley I've experimented with your ofxtools and it works well on my bank datafile. I've this idea brewing that's quite difficult to do, but would greatly multiply the usability of the current OFX importer. Here's gist of current importer (I think), as well as some followup desired