I am using the python bindings - in fact was just going to see about getting some patches to update the bindings.
Just updated to 2.6.0 - looks as though some functions that used to exist no longer exist in the Account class so need to be removed from gnucash_business.py Ive noticed that the python bindings are not very "pythonic" - I have some updates which improve this eg account lookup used to require testing that the swig instance was None - this got updated somewhere between 2.4 and 2.6 so now the python class returns None - the "pythonic" way seems to me is to raise exception - which is what one of my updates does So I was going to email this list to see what is going on with the bindings and how such improvements could be added. Such updates will fail existing python code - such as the examples - although Ive found other cases where existing changes means some of the example python code no longer works David On Sun, Jan 12, 2014 at 11:22 AM, Henning Jacobs <henn...@jacobs1.de> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I recently discovered the great Python bindings and just updated > http://wiki.gnucash.org/wiki/Python_Bindings to contain pointers to my > scripts. > > Now my questions: > > * GncPrice does not contain a proper __init__, therefore I monkey > patched it: > > https://github.com/hjacobs/gnucash-stock-portfolio/blob/master/gnucash_patch.py > --- What's the best way to make a patch request for the original GnuCash > Python bindings? > * Are there any other known/major users of the Python bindings? > * Who is maintaining the Python bindings and is there any roadmap to > improve them? > > IMHO the Python bindings are a really great way of enhancing the GnuCash > functionality without having to code C/C++ (I would not be very > productive with it...) > I will properly write more code in the near future using the Python > bindings --- I would also gladly help extending/improving the current > code base and/or documentation :-) > > - - Henning > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.14 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlLS63oACgkQCI3KHACjjwXHsACdGvhhYVASKEK13bw1cbRAM/8v > MBAAmwfus1dYcRk4zvU+KzJ20T8YcdWi > =snST > -----END PGP SIGNATURE----- > > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel