The Ultimate Guide to Data Classes in Python 3.7 – Real Python

Data classes are one of the new features of Python 3.7. With data classes you do not have to write boilerplate code to get proper initialization, representation and comparisons for your objects.