attrs
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).
To install this package, run one of the following:
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods). Its main goal is to help you to write concise and correct software without slowing down your code. For that, it gives you a class decorator and a way to declaratively define the attributes on that class:
Summary
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).
Last Updated
Oct 6, 2025 at 14:52
License
MIT
Total Downloads
59.7M
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/python-attrs/attrsDocumentation
https://attrs.readthedocs.io/en/stable/