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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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

8 hours ago