[PATCH] Python bindings (with much of the core api)

Mark Jenkins mark at parit.ca
Sat Mar 22 03:20:31 EDT 2008


Hello again,

I submitted a patch with the beginning of python binding support on
February 27. ([PATCH]: Python bindings)

Since then, Jeff Green and I have begun adding support for the core api,
much of which is now accessible with the python bindings provided by the
attached patch. See
src/optional/python-bindings/example_scripts/simple_test.py
(file in the patch)
for an example where two accounts are added as children of the root
account, and a transaction created.

I've tested this against trunk, revision 17040.

I know this probably isn't right, but after applying the patch to trunk
you have to re-run autogen.sh (if you're working with a local copy where
it has already been run), to get ./py-compile installed into the source
directory.

Can we start a branch derived from trunk to bring these python bindings
up to maturity?


Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-bindings_2008-03-22.patch
Type: text/x-patch
Size: 43170 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080322/ba5530b5/attachment-0001.bin 


More information about the gnucash-devel mailing list