Recursive Conversion: Pybind11's Nested STL Prowess

Pybind11 seamlessly handles arbitrarily nested STL containers, automatically converting complex C++ structures like `std::vector<std::map<std::string, int>>` to their corresponding Python nested list/dict types.

Sources

Open the full topic