BSD Ports

devel/py-wrapt 1.17.2 DragonFly

Decorators, wrappers and monkey patching

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
devel, python
Package size
50.6 KiB, 270.8 KiB installed

Description

The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions.

The wrapt module focuses very much on correctness. It therefore goes way beyond existing mechanisms such as functools.wraps() to ensure that decorators preserve introspectability, signatures, type checking abilities etc. The decorators that can be constructed using this module will work in far more scenarios than typical decorators and provide more predictable and consistent behaviour.

In the other systems

SystemPortVersion
DragonFlydevel/py-wrapt1.17.2
FreeBSDdevel/py-wrapt2.4.1
OpenBSDdevel/py-wrapt2.4.1
NetBSDdevel/py-wrapt2.4.1
MidnightBSDdevel/py-wrapt1.16.0_1
HardenedBSDdevel/py-wrapt2.4.1
GhostBSDdevel/py-wrapt2.4.1

Install

Binary package:

pkg install py311-wrapt

From DPorts:

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

Dependencies

Run dependencies 1