attrs
Python Classes Without Boilerplate
...Its ultimate goal is to help you write concise and correct software without slowing down your code. attrs provides a class decorator and a means to declaratively define the attributes on that class. This results in a concise and explicit overview of the class's attributes, a human-readable __repr__, a complete set of comparison methods and more, all without having to repetitively write dull boilerplate code and without negatively affecting your runtime performance. With attrs you can write correct and self-documenting code, and you'll find joy in writing classes again!