Name : python3-characteristic
| |
Version : 14.3.0
| Vendor : Fedora Project
|
Release : 8.fc27
| Date : 2017-07-28 18:16:14
|
Group : Unspecified
| Source RPM : python-characteristic-14.3.0-8.fc27.src.rpm
|
Size : 0.15 MB
| |
Packager : Fedora Project
| |
Summary : Python library that eases the chores of implementing attributes
|
Description :
NOTE: characteristic is in maintenance-only mode upstream. Projects that do not current use characteristic are not advised to adopt it: instead look at the successor project, attrs (available as python2-attrs / python3-attrs).
Say \'yes\' to types but \'no\' to typing!
characteristic is a 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 ``characteristic`` gives you:
- a nice human-readable ``__repr__``, - a complete set of comparison methods, - and a kwargs-based initializer (that cooperates with your existing one)
*without* writing dull boilerplate code again and again.
So put down that type-less data structures and welcome some class into your life!
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora-secondary/releases/27/Everything/aarch64/os/Packages/p |