[ 原始碼: python-attrs ]
套件:python3-attr(20.3.0-1)
Attributes without boilerplate (Python 3)
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 packaged for Python 3.
其他與 python3-attr 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- sug: python-attr-doc
- documentation for the attrs Python library