Python 3.7 introduced dataclasses (PEP557). Dataclasses can be a convenient way to generate classes whose primary goal is to contain values. The design of dataclasses is based on the pre-existing attr.s library. In fact Hynek Schlawack, the very same author of attrs, helped with the writing of PEP557. Basically dataclasses are a slimmed-down version of attrs. Whether this is an improvement or not
![Dataclasses and attrs: when and why](https://cdn-ak-scissors.b.st-hatena.com/image/square/1b6a9cbd8b9a70f0e27def380564fb9a99cba65c/height=288;version=1;width=512/https%3A%2F%2Fwww.revsys.com%2Fstatic%2Ficons%2Fapple-touch-icon.10b562419492.png)