attrs is a Python package that lets you write classes without all the usual drudgery. Its ultimate goal is to help you write concise and correct software without slowing down your code. attrs provides a class decorator and a means to declaratively define the attributes on that class. This results in a concise and explicit overview of the class's attributes, a human-readable __repr__, a complete set of comparison methods and more, all without having to repetitively write dull boilerplate code and without negatively affecting your runtime performance. With attrs you can write correct and self-documenting code, and you'll find joy in writing classes again!

Features

  • Class decorator
  • First class support for Type Annotations
  • Instance initialization
  • Extensible

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow attrs

attrs Web Site

Other Useful Business Software
The Most Powerful Software Platform for EHSQ and ESG Management Icon
The Most Powerful Software Platform for EHSQ and ESG Management

Addresses the needs of small businesses and large global organizations with thousands of users in multiple locations.

Choose from a complete set of software solutions across EHSQ that address all aspects of top performing Environmental, Health and Safety, and Quality management programs.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of attrs!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Software Development Software, Python Package Managers

Registered

2020-11-17