[Numpy-discussion] Best way to expose std::vector to be used with numpy
V. Armando Sole
sole at esrf.fr
Wed Oct 15 16:09:45 EDT 2014
On 15.10.2014 21:48, Chris Barker wrote:
> Sorry about SWIG -- maybe a chance to move on ;-)
>
> I'd go with Cython -- this is pretty straightforward, and it handles
> the buffer protocol for you under the hood.
>
+1
All the standard containers are automatically wrapped and C++ exceptions
can be caught and translated to Python ones.
Armando
More information about the NumPy-Discussion
mailing list