I’m happy to announce that attrs 16.1.0 hit PyPI: 
https://pypi.org/project/attrs/

attrs is the Python package that will bring back the joy of writing classes by 
relieving you from the drudgery of implementing object protocols (aka dunder 
methods).

Its main goal is to help you to write concise and correct software without 
slowing down your code.

Leading Python Though Lords™ have called it “The One Python Library Everyone 
Needs”: https://glyph.twistedmatrix.com/2016/08/attrs.html (subtitle: “Use 
attrs. Use it. Use it for everything.”)

The main change is the option of having frozen (i.e. immutable) classes which 
allows for value types in Python.

See the full changes at https://attrs.readthedocs.io/en/stable/changelog.html 
and never again violate the single responsibility principle just because 
implementing __init__ et al is a painful drag!

Cheers,
Hynek Schlawack
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations/

Reply via email to