Re: Working example of kvp acess in Python

2014-11-12 Thread John Ralls
> On Nov 12, 2014, at 3:56 PM, Christoph Holtermann wrote: > > Hello, > > for my part i answered some of the questions myself: > > Am 12.11.2014 um 18:46 schrieb Christoph Holtermann: >> Hello, >> >> so KVPs should be accessed by objects they belong to and not from the >> outside. >> Some qu

Re: python GnuCash interface to SQL backend

2014-11-12 Thread John Ralls
> On Nov 12, 2014, at 12:08 PM, Sébastien de Menten wrote: > > On Wednesday, November 12, 2014, John Ralls > wrote: > > > On Nov 11, 2014, at 1:10 PM, Sébastien de Menten > > wrote: > > > > > > I would be genuinely interested to have more specific documentation

Re: Working example of kvp acess in Python

2014-11-12 Thread Christoph Holtermann
Hello, for my part i answered some of the questions myself: Am 12.11.2014 um 18:46 schrieb Christoph Holtermann: > Hello, > > so KVPs should be accessed by objects they belong to and not from the outside. > Some questions: > * Is it legitimate to have KVP representation in Python at all or is thi

Company data and KVP, was Re: Working example of kvp acess in Python

2014-11-12 Thread Christoph Holtermann
Hello, one thing I miss when creating an invoice is my bank information. The company data doesn't have this information, does it ? Having a look at the customer data shows that there is also no bank account information. Wouldn't it be useful to have a preferred bank account there, too ? Or did I

Re: Working example of kvp acess in Python

2014-11-12 Thread Christoph Holtermann
Hello, so KVPs should be accessed by objects they belong to and not from the outside. Some questions: * Is it legitimate to have KVP representation in Python at all or is this low-level und should remain to the c-api ? * The information that I'm interested in is the company data for invoices. As

Re: python GnuCash interface to SQL backend

2014-11-12 Thread John Ralls
> On Nov 11, 2014, at 1:10 PM, Sébastien de Menten wrote: > > Hello, > > After trying multiple times to work with GnuCash from python (via xml, via > the python bindings, via sql), I finally had a try to use SQLAlchemy to > handle the GnuCash Books saved through the SQL backend (sqlite3 and > p

python GnuCash interface to SQL backend

2014-11-12 Thread Sébastien de Menten
Hello, After trying multiple times to work with GnuCash from python (via xml, via the python bindings, via sql), I finally had a try to use SQLAlchemy to handle the GnuCash Books saved through the SQL backend (sqlite3 and postgres). I have a release on PyPI the package "pyscash" installable throu