INCF / ProvenanceLibrary

Other
9 stars 8 forks source link

Python wrapper written in cython #4

Closed nicholsn closed 12 years ago

nicholsn commented 12 years ago

Not completed yet, but as I'm new to Cython its probably time to get some feedback. I haven't figured out how to handle return values when creating new elements, and thus not yet linking child elements. But the outline is there and it is generating xml!

To test it out, from /src: python setup.py build_ext --inplace

Then ctestprov.py has some examples... import cprovenance prov = cprovenance.Prov("1") prov.newRecord() ...