Yes, you'll need to provide an ostream. Depending on how you're using
it, you could take it (appropriately wrapped) as a parameter, have it
be another member of Wrapper, or construct it on the fly.
This is one of those areas where duplicating the C++ API may not be
the most Pythonic. Instead, consider how you would write this in
Python and construct your wrapper to do the appropriate translation to
the C++ API.