I have a piece of hardware with a C/C++ api in the form of a dll, but I'm unsure what the best option is to make that code useable with python.
I experimented a bit with ctypes on a simple dll I wrote, but the library I want to use has around 30+ functions which will likely be a huge hassle to manually wrap and test every single one of them.
SWIG or CPython bindings seem to offer something more automated, but every example I found seems to build from the .cpp source file, which I do not have.
Any recommendations?
I experimented a bit with ctypes on a simple dll I wrote, but the library I want to use has around 30+ functions which will likely be a huge hassle to manually wrap and test every single one of them.
SWIG or CPython bindings seem to offer something more automated, but every example I found seems to build from the .cpp source file, which I do not have.
Any recommendations?