Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using C++ from Python? (not boost)

Tags:

c++

python

I'm currently using boost-python to wrap a small C++ library and make it usable from Python. However, I'd like to stop using boost (mainly due to reasons relating to building/linking). So what other options are there?

Is there something that's equally convenient to use?

like image 257
Magnus Avatar asked Jul 28 '26 04:07

Magnus


1 Answers

There's Riverbank's SIP, Beazley's Swig, and Scott's/Dubois'/Furnish's Cxx. See also this page with other potentially relevant projects (but no direct answer to your immediate needs, I believe).

like image 55
Alex Martelli Avatar answered Jul 29 '26 21:07

Alex Martelli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!