My C++ library depends on a 3rd party C++ library with its own bindings. I bind a struct that uses def_readwrite to expose its members. One of its me ...
My C++ library depends on a 3rd party C++ library with its own bindings. I bind a struct that uses def_readwrite to expose its members. One of its me ...
first of all, thanks for this great project! I have the following situation: I'm developing a C++ library which uses drake as a dependency. Specifica ...
Someone setup for us cmake to use pybind to create a .pyd module we package, together with some pure python files, into a wheel. We are switching fro ...
I have a C++ class which acts like a map that can contain different data types. In C++, it is unknown at compile time what data type an entry is. The ...
I maintain a Python library that's written in C++ (using Pybind11). For the past couple of years, I've been able to debug it just fine with lldb, just ...
I'm working on a pybind11 extension written in C++ but I'm having a hard time understanding how should it be distributed. The project links to a numb ...
I have a C++ extension for Python (produced using pybind11). Debugging this C++ extension from a Python script in Visual Studio Code can be achieved b ...
I'm implementing a generator in C++ using pybind11 and the bit I'm having difficulty with is implementing the throw method. In python it has this sig ...
I have a base class in c++ that looks like: class EdgeAttributePipelineStep { public: virtual void setAttributes(Edge& edge) = 0; }; And th ...
How to destroy python interpreter in pybind11 to call python function from c++ in loop Here am getting output for the first time ,when it's come for ...
I am one of the devs of a (fairly large) C++ simulation tool. Disclaimer : I'm more of a physicist than a dev. I wrote Python bindings for that projec ...
I have a C++ library with many functions exported to Python using PyBind11. I am sure that these functions are thread-safe and would like to maximize ...
A function definition that takes a base class does not recognize the derived class as a valid argument when wrapped with pybind11. In pybind11 I have ...
Im compiling a c++ script to be used in python using Cython however, including returns the error message I wrote a c++ script and a .pyx file to ...
I'm working on a project that installs the dependencies using brew. We need pybind11 to build our python module. When I ll the available files I get ...
In the below example of the pybind tutorial, a dynamic library is build. setup.py in https://github.com/pybind/python_example: It can be imported ...
TLDR: How do I link a .so/import a dependency when importing my pybind11 module in python? I am attempting to build a pybind11 module that, in parts, ...
I have a dataframe df whose index is [x[0], ..., x[N]] and column is [y[0], ..., y[M]] and whose data is a 2D array of z[i,j]'s. I have a python func ...
I have a C++ code using Cmake & make for the building part. I also have python bindings to this code thanks to PyBind11. I use pybind11_add_modul ...
the problem I am solving: I would like to implement a library and use it in pyhon. the issue I am facing: After compiling the code and trying to imp ...