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
License
MIT LicenseFollow attrs
Other Useful Business Software
Run applications fast and securely in a fully managed environment
Run frontend and backend services, batch jobs, deploy websites and applications, and queue processing workloads without the need to manage infrastructure.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of attrs!