FreeBSD.software
Home/devel/py311-characteristic

py311-characteristic

14.3.0_1

Python attributes without boilerplate

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 any or all of: a nice human-readable __repr__, a complete set of comparison methods, immutability for attributes, and a kwargs-based initializer without writing dull boilerplate code again and again.

Origin: devel/py-characteristic
Category: devel
Size: 207KiB
License: MIT
Maintainer: axel.rau@chaos1.de
Dependencies: 1 packages
Required by: 0 packages
$pkg install py311-characteristic

Dependencies (1)

More in devel