[SciPy-User] weave.inline alternative

J. David Lee johnl at cs.wisc.edu
Sat Apr 2 22:35:55 EDT 2011


Hello.

In the last couple of days I've worked up a simple alternative to 
weave.inline to use in some of my own work, and on the chance that 
someone else would be interested in it, I've posted it here, with some 
documentation:

http://pages.cs.wisc.edu/~johnl/np_inline/

My goal was to produce something that was as simple and maintainable as 
possible while still having the features of weave.inline that I'm 
interested in: passing floats, ints, and numpy arrays into C functions, 
manipulate arrays, and returning numeric values. An additional feature 
is the ability to compile the extension module properly when being 
accessed from multiple processes. Notably I'm not interested in creating 
or manipulating primitive python objects in C.

If you're at all interested in something like this, please take a look 
and let me know what you think.

Thanks,

David



More information about the SciPy-User mailing list