[ buster ]
[ 原始碼: python-attrs ]
套件:python-attr(18.2.0-1)
Attributes without boilerplate (Python 2)
attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.
You just specify the attributes to work with and attrs gives you:
- a nice human-readable __repr__, - a complete set of comparison methods, - an initializer, - and much morewithout writing dull boilerplate code again and again.
This package contains attrs packged for Python 2.
其他與 python-attr 有關的套件
|
|
|
|
-
- dep: python
- interactive high-level object-oriented language (Python2 version)
-
- sug: python-attr-doc
- documentation for the attrs Python library