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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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