Using C ++ from Python? (don't increase)

I am currently using boost-python to wrap a small C ++ library and make it usable with Python. However, I would like to stop using boost (mainly because of reasons related to building / binding). So what are the other options?

Is there anything equally convenient to use?

+3
source share
3 answers

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

+2
source

Take a look at SWIG .

+2
source

Cython syntax is very Pythonic, breaking the rules only where necessary.

0
source

Source: https://habr.com/ru/post/1751463/


All Articles