attr

Simple decorator to set attributes of target function or class in a DRY way.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install attr

Dependencies

  • None

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.3.2 2022-07-13  
0.3.1 2017-11-30  
0.3.0 2017-11-30  
0.2.0 2017-01-31  
0.1.0 2013-10-12  

Issues with this package?

Page last updated 2026-05-12 13:24:13 UTC