Skip to main content

Software - py-pybind11

Description

pybind11 -- 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. Its goals and syntax are similar to the excellent Boost.Python library by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.

Website

https://pybind11.readthedocs.io

Variants installed

  1. py-pybind11 2.13.5

    • Compiler: gcc =13.2.0
    • Architecture: zen2

    Spack Command

    $ spack load py-pybind11/gmvmpxc