pybind11
Seamless operability between C++11 and Python
pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. Its goals and syntax are similar to the Boost.Python library: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.
- Versions: 2.13.6 · 2.10.4
- Website: https://github.com/pybind/pybind11/
- Licenses: Modified BSD
- Package source: gnu/packages/python-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of pybind11 as follows:
guix install pybind11
Or install a particular version:
guix install pybind11@2.10.4
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.
Badge code
You can use the following badge to inform users of pybind11 about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/pybind11'><img src='https://packages.guix.gnu.org/packages/pybind11/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/pybind11)
Example Org:
[[https://packages.guix.gnu.org/packages/pybind11][https://packages.guix.gnu.org/packages/pybind11/badges/latest-version.svg]]