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
8 Monitoring Tools in One APM. Install in 5 Minutes. Icon
8 Monitoring Tools in One APM. Install in 5 Minutes.

Errors, performance, logs, uptime, hosts, anomalies, dashboards, and check-ins. One interface.

AppSignal works out of the box for Ruby, Elixir, Node.js, Python, and more. 30-day free trial, no credit card required.
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