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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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