python-attr

Attributes without boilerplate (Python 2)

Description

attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.

You just specify the attributes to work with and attrs gives you:
  - a nice human-readable __repr__,
  - a complete set of comparison methods,
  - an initializer,
  - and much more
without writing dull boilerplate code again and again.

This package contains attrs packged for Python 2.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://attrs.readthedocs.org/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-attr