×

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:

Uploaded Mon Mar 31 20:48:23 2025
md5 checksum 873d804115f7a0013911950fbf802ca1
arch x86_64
build py310h06a4308_0
depends python >=3.10,<3.11.0a0
license MIT
license_family MIT
md5 873d804115f7a0013911950fbf802ca1
name attrs
platform linux
sha1 ce0691bc1dd51c5243fd71eef7206d4c2d5209a4
sha256 4c2683923be4d87d77d7fb9233b9bc44c7614e3d377384447078e3ce27d498b2
size 153664
subdir linux-64
timestamp 1729089491775
version 24.2.0