Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2246

attrs 16.1.0

From Hynek Schlawack <hs@ox.cx>
Newsgroups comp.lang.python.announce
Subject attrs 16.1.0
Date 2016-09-01 12:31 +0200
Message-ID <mailman.3.1472731680.7158.python-announce-list@python.org> (permalink)
References <35F9A4C7-2578-4E7F-8E64-EC9797974219@ox.cx>

Show all headers | View raw


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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

attrs 16.1.0 Hynek Schlawack <hs@ox.cx> - 2016-09-01 12:31 +0200

csiph-web