[SciPy-User] weave.inline alternative

J. David Lee johnl at cs.wisc.edu
Mon Apr 4 12:01:28 EDT 2011


On 04/02/2011 09:35 PM, J. David Lee wrote:
> 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.
I've created github repository for the code for those interested:

https://github.com/johnnylee/np_inline

Thanks,

J. David Lee




More information about the SciPy-User mailing list