Pybind11 is a lightweight, header‑only C++ library that simplifies and streamlines creating Python bindings for C++11+ code. It uses template meta-programming to automatically infer types, minimizing boilerplate compared to Boost.Python, and works seamlessly with major build systems

Features

  • Header-only, zero-dependency C++11 library
  • Minimal boilerplate for binding functions and classes
  • Automatic type conversion via compile-time introspection
  • Supports CMake, pip, conda installation methods
  • Has numerous plugin adapters (e.g., Abseil, JSON)
  • Cross-platform with active maintenance

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow pybind11

pybind11 Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pybind11!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2025-06-27