pybind11使用入门

jackieathome / 2024-08-10 / 原文

  • 代码仓库

    Seamless operability between C++11 and Python.
    pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code.

  • 官方文档
  • pybind11
    安装pybind11软件包,执行如下命令:
    pip install pybind11
    
  • Boost.Python

参考资料

  • C++和Python混合编程之Pybind11的简单使用
  • pybind11介绍
  • window下使用pybind11