BSD Ports

devel/py-characteristic 14.3.0_1 DragonFly

Python attributes without boilerplate

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
28.9 KiB, 207.4 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-characteristic14.3.0_1
FreeBSDdevel/py-characteristic14.3.0_1
OpenBSDdevel/py-characteristic14.3.0p10
MidnightBSDdevel/py-characteristic14.3.0_1
HardenedBSDdevel/py-characteristic14.3.0_1
GhostBSDdevel/py-characteristic14.3.0_1

Install

Binary package:

pkg install py311-characteristic

From DPorts:

cd /usr/dports/devel/py-characteristic && make install clean

Dependencies

Run dependencies 1

No port depends on this one.