Both pybind11 and boost::python involve writing code. This solution doesn't, save for listing the names of the files to be made available to Python (or C#, or Excel, or...).
How is that relevant to a discussion of pybind11?
"if needed" means "needed with any and all C APIs one would be interested in".