1. Home
  2. Browse
  3. pybind11

pybind11

v2.12.0#0Latest

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

Install

Run the following Vcpkg command to install the port.

Usage

pybind11 provides CMake targets. There are two modes provided; classic, which is built on the old Python

discovery packages in CMake, or the new FindPython mode, which uses FindPython

from 3.12+ forward (3.15+ _highly_ recommended).

New FindPython mode:

For more information see here:

Dependencies

See source

Version

v2.12.0#0

Publication

Supports

!(arm & windows)

GitHub

pybind/pybind1115K

Homepage

github.com/pybind/pybind11

Subtree

867c15f484

License

BSD-3-Clause

Definition

Manifest