devel/py-characteristic 14.3.0_1 MidnightBSD
Python attributes without boilerplate
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
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 |
|---|---|---|
| MidnightBSD | devel/py-characteristic | 14.3.0_1 |
| FreeBSD | devel/py-characteristic | 14.3.0_1 |
| OpenBSD | devel/py-characteristic | 14.3.0p10 |
| DragonFly | 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:
mport install ${PYTHON_PKGNAMEPREFIX}characteristic
From mports:
cd /usr/mports/devel/py-characteristic && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}characteristic>0:devel/py-characteristic
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| characteristic-14.3.0.tar.gz | 26993 | ded68d4e424115ed44e5c83c2a901a0b6157a959079d7591d92106ffd3ada380 |
Master sites 1
- PYPI