Release {sub-ref}release (What's new?)
:start-after: 'teaser-begin -->' :end-before: '<!-- teaser-end'
attrs is a Python-only package hosted on PyPI. The recommended installation method is pip-installing into a virtualenv:
$ python -Im pip install attrs
The next steps will get you up and running in no time:
overview will show you a simple example of attrs in action and introduce you to its philosophy. Afterwards, you can start writing your own classes and understand what drives attrs's design.examples will give you a comprehensive tour of attrs's features. After reading, you will know about our advanced features and how to use them.why gives you a rundown of potential alternatives and why we think attrs is still worthwhile -- depending on your needs even superior.glossary.If you need any help while getting started, feel free to use the python-attrs tag on Stack Overflow and someone will surely help you out!
types help you to write correct and self-documenting code. attrs has first class support for them, yet keeps them optional if you’re not convinced!init gives you an overview what attrs has to offer and explains some related philosophies we believe in.comparison shows you how attrs helps you with that and how you can customize it.hashing will give you a primer on what to look out for.api contains all information you need to use attrs to its fullest.extending will show you the affordances it offers and how to make it a building block of your own projects.attr.s, attr.ib, attrs, attrib, define, frozen, and field, head over to {doc}names for a very short explanation, and optionally a quick history lesson.:start-after: '## Project Information'
:maxdepth: 2 overview why examples types init comparison hashing api api-attr extending how-does-it-work glossary
:caption: Meta :maxdepth: 1 names license changelog