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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-characteristic | 14.3.0_1 |
| FreeBSD | devel/py-characteristic | 14.3.0_1 |
| OpenBSD | devel/py-characteristic | 14.3.0p10 |
| MidnightBSD | devel/py-characteristic | 14.3.0_1 |
| HardenedBSD | devel/py-characteristic | 14.3.0_1 |
| GhostBSD | devel/py-characteristic | 14.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.