pybind11
pybind11 copied to clipboard
Seamless operability between C++11 and Python
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
[Master] Add install info for CMake/Hunter ## Description Adds information on how to install pybind11 when using CMake/Hunter ## Suggested changelog entry:
## Issue description Is there a practical way to make a C++ function pickleable? I want to do this in order to support pickle on my own classes with `__reduce__`....
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
## Description Instead of only using type_caster template specialization, it is possible to register the conversions with a function declaration, which will be found with [ADL](https://en.cppreference.com/w/cpp/language/adl). ``` namespace foo {...
## Description Dummy change. Just to trigger CI. I will keep this draft PR around indefinitely for testing the testing on master. (3939 is so easy to remember.) ## Suggested...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
### Required prerequisites - [X] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. - [X] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't...
Is it possible to pass data from numpy to C++ and take ownership of the memory, so its no longer managed by Python? I have large Numpy matrix and I...