Python dataclasses work behind the scenes to make your Python classes less verbose and more powerful all at once. Here's an introduction to using dataclasses in Python. Everything in Python is an ...
class MyClass // exported to Python using Boost::Python. { }; class Container // Also exported { }; foo() { Container* cont = Container(); // call Python function ...