Name : python2-characteristic
| |
Version : 14.3.0
| Vendor : Fedora Project
|
Release : 13.fc29
| Date : 2018-07-15 05:53:31
|
Group : Unspecified
| Source RPM : python-characteristic-14.3.0-13.fc29.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: /vol/rzm3/linux-fedora-buffet/alt/risc-v/repo/fedora/29/25551/riscv64/Packages/p |