Re: [GNC] Help with Python interface

2025-04-18 Thread Sam Bull
If anybody is interested in connecting bank accounts in countries like the UK, the project is now available at: https://github.com/Dreamsorcerer/gnucash-gocardless-import On Mon, 2025-04-14 at 22:53 +0100, Sam Bull wrote: > On Mon, 2025-04-14 at 11:44 -0400, John Ralls wrote: > > > A way to searc

Re: [GNC] Help with Python interface

2025-04-15 Thread Sam Bull
On Mon, 2025-04-14 at 11:44 -0400, John Ralls wrote: > > On 13 Apr 2025, at 07:11, Sam Bull wrote: > > > > I'm trying to figure out how to use the Python bindings, but the > > documentation is > > almost > > non existent. One of the suggestions is to use help() where everything is > > documente

Re: [GNC] Help with Python interface

2025-04-14 Thread John Ralls
> On 13 Apr 2025, at 07:11, Sam Bull wrote: > > I'm trying to figure out how to use the Python bindings, but the > documentation is almost > non existent. One of the suggestions is to use help() where everything is > documented as > "wrapper method for function", so I don't see how that is us

Re: [GNC] Help with Python interface

2025-04-14 Thread John Ralls
The GnuCash SQL schema hasn’t changed since 3.0, but Python has. Piecash may well need some updating to be usable, but any python programmer who’s been keeping up with the changes will know what to do. Regards, John Ralls > On 14 Apr 2025, at 00:21, Jediator wrote: > > Piecash only works wit

Re: [GNC] Help with Python interface

2025-04-13 Thread Jediator
Piecash only works with older version of GNC database schema (version 3.0) and it is not updated for years.  Not sure if it would work with the latest GNC 5.x schema.  I assume any major release would have some schema changes. -- ND On 4/13/25 10:55 PM, Geoff wrote: Hi Sam If you haven't do

Re: [GNC] Help with Python interface

2025-04-13 Thread Geoff
Hi Sam If you haven't done so already, I suggest you switch your storage format from XML to SQL - SQLite works very well. Then have a good read of the PieCash libraries: https://github.com/sdementen/piecash Then use that as a basis to roll your own SQL to search etc. It's quite straightfor

[GNC] Help with Python interface

2025-04-13 Thread Sam Bull
I'm trying to figure out how to use the Python bindings, but the documentation is almost non existent. One of the suggestions is to use help() where everything is documented as "wrapper method for function", so I don't see how that is useful at all... (Also, the docs tell me to contact gn