Re: python wrapper?

idm <[email protected]> Tue, 12 May 2009 08:11:37 -0700 (PDT)
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
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--tp22193421p23504523.html
Sent from the LibOFX - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com