python GnuCash interface to SQL backend

Derek Atkins warlord at MIT.EDU
Thu Nov 13 21:33:32 EST 2014

John Ralls <jralls at> writes:

> What’s your goal here? I don’t think that reimplementing GnuCash in
> Python with GnuCash’s SQL schema is a particularly good approach: It’s
> not exactly the most efficient design. Rather, it’s designed to mirror
> the XML schema. You’ll have a better design if you relegate GnuCash
> SQL to import/export.

I agree wholeheartedly.  Don't do it this way.  Use the GnuCash Python
bindings.  If you don't like the current structure of them, then fix
that.  This way your apps will always work because the bindings will
stay in lockstep with any changes that get made.

> An aside about the name: Pyscash is likely to be pronounced by English
> speakers with a short “i” sound where the y goes.  That conveys a
> rather unfortunate meaning.

Indeed, I would pronounce is "piss cash".

> Regards,
> John Ralls

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list