Re: python wrapper?
ajs2 <[email protected]> Thu, 10 Sep 2009 16:29:13 -0700 (PDT)
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
Here is a start at wrapping it with SWIG. http://www.nabble.com/file/p25392659/libofx-python-0.0.2.tar.gz libofx-python-0.0.2.tar.gz idm wrote: > > Any progress on this project? Have you looked into SWIG for generating > this wrapper? I was looking into this last night, but I've never used > SWIG before and I don't know how easy it is to wrap the many structs that > appear in libofx.h. My suspicion is that it will save you time, and I > expect the C file generated by SWIG will be portable (so it can be bundled > with your module). > > At any rate, I'm interested to hear more. > > -Ian > > > Nick Kirsch-2 wrote: >> >> I'd like to build a Python wrapper for libofx. The wrapper will be >> written in >> C and will simply wrap each structure with a corresponding Python object >> with >> fields of the same name. I'll also wrap the callback functions and load >> function. >> >> The module will be called "Ofx" and each class will be the same as their >> Ofx >> container: Account, Statement, etc. >> >> One wrinkle is the valid check - I will likely implement this such that >> if a >> field is accessed that isn't valid, it throws an exception. >> >> Comments? Suggestions? Is someone else building this? >> >> Thanks. >> >> Nick >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Libofx-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/libofx-devel >> >> > > -- View this message in context: http://www.nabble.com/python-wrapper--tp22193421p25392659.html Sent from the LibOFX - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july