attrs 16.1.0

Hynek Schlawack hs at ox.cx
Thu Sep 1 06:31:34 EDT 2016


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


More information about the Python-announce-list mailing list