pybind11 v3.0.0
- Created
- Updated
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
# Usage
pybind11 provides CMake integration:
# Easy
set(PYBIND11_FINDPYTHON ON)
find_package(pybind11 CONFIG REQUIRED)
pybind11_add_module(MyModule1 src1.cpp)
# Advanced
find_package(Python COMPONENTS Interpreter Development)
find_package(pybind11 CONFIG REQUIRED)
Python_add_library(MyModule2 src2.cpp)
target_link_libraries(MyModule2 PRIVATE pybind11::headers)
# License
# Supported Platforms
All platforms are supported
# Features
No features defined.
# Dependencies
python3
Features: (none)
and 10 transitive dependencies:
gettext-libintl (by python3 )
Platforms:
!windows
libiconv (by gettext-libintl )
Platforms:
!linux
- zlib (by python3 )
# Host Dependencies
and 7 transitive dependencies:
- pkgconf (by vcpkg-pkgconfig-get-modules )
vcpkg-cmake-get-vars (by libiconv )
Platforms:
android
- vcpkg-get-python (by python3 )
- vcpkg-make (by gettext-libintl )
vcpkg-msbuild (by python3 )
Platforms:
windows
vcpkg-pkgconfig-get-modules (by python3 )
Platforms:
windows & !mingw
- vcpkg-tool-meson (by pkgconf )
# Dependents
- llvm (feature
enable-mlir-python-bindings
) - netgen (feature
python
) - numcpp (feature
python
) - openimageio (feature
pybind11
) - pangolin (feature
pybind11
) - tensorpipe (feature
pybind11
)
# Host Dependents
No dependents.
# Contributors
Ethan Smith
Robert Schumacher
Kyle Macfarlan
Alexander Karatarakis
Albert Ziegenhagel
Albert Ziegenhagel
Stanislav Ershov
Sztergbaum Roman
zhihaoy
pravic
Stefano Sinigardi
Anand Balakrishnan
ras0219
Mikhail Boldyrev
Adam Johnson
JonLiu1993
Ryan
chausner
NancyLi1013
SunBlack
Alexander Neumann
Qingnan Duan
Jack·Boos·Yu
Yury Bura
miyanyan
Osyotr
Kai Pastor
# Changelog
and 41 more commits:
c5acdcd
[pybind11] Apply patch for alias templates087498f
[pybind11] Fix version in CONTROL after updatef8ac383
[pybind11] Update to 2.2.126516fe
vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)d2c045c
Update pybind11 version to 2.2.050fca8f
[pybind11] Build against python3 library inside vcpkg, add find_acquire_program(PYTHON3)2aff607
[pybind11] Disable building tests to remove pytest dependency.4990c31
fix sourcepath pybind11 2.1.07a703e7
remove unused options0723e52
update pybind11 to 2.1.0bfb3ef8
add pybind11 port