CMD + K

attrs

Community

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).

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::attrs

Usage Tracking

25.4.0
25.3.0
25.2.0
25.1.0
24.3.0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

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:

About

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

noarch

Unsupported Platforms

win-32 Last supported version: 17.2.0
linux-64 Last supported version: 17.2.0
win-64 Last supported version: 17.2.0
macOS-64 Last supported version: 17.2.0