attrs
Python Classes Without Boilerplate
attrs is a Python package that lets you write classes without all the usual drudgery. 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...