devel/py-wrapt - The NetBSD Packages Collection

Python module for decorators, wrappers and monkey patching

A Python module for decorators, wrappers and monkey patching.

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.

To ensure that the overhead is as minimal as possible, a C extension module
is used for performance critical components. An automatic fallback to a pure
Python implementation is also provided where a target system does not have a
compiler to allow the C extension to be compiled.

Build dependencies

devel/py-setuptools devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64py39-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0aarch64ebpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy27-wrapt-1.16.0.tgz
NetBSD 10.0alphapy310-wrapt-1.16.0.tgz
NetBSD 10.0alphapy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy311-wrapt-1.16.0.tgz
NetBSD 10.0alphapy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy312-wrapt-1.16.0.tgz
NetBSD 10.0alphapy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy38-wrapt-1.16.0.tgz
NetBSD 10.0alphapy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy39-wrapt-1.16.0.tgz
NetBSD 10.0alphapy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0alphapy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py39-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv4py39-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy27-wrapt-1.16.0.tgz
NetBSD 10.0earmv6hfpy310-wrapt-1.16.0.tgz
NetBSD 10.0earmv6hfpy311-wrapt-1.16.0.tgz
NetBSD 10.0earmv6hfpy312-wrapt-1.16.0.tgz
NetBSD 10.0earmv6hfpy38-wrapt-1.16.0.tgz
NetBSD 10.0earmv6hfpy39-wrapt-1.16.0.tgz
NetBSD 10.0earmv6hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv6hfpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy27-wrapt-1.16.0.tgz
NetBSD 10.0earmv7hfpy310-wrapt-1.16.0.tgz
NetBSD 10.0earmv7hfpy311-wrapt-1.16.0.tgz
NetBSD 10.0earmv7hfpy312-wrapt-1.16.0.tgz
NetBSD 10.0earmv7hfpy38-wrapt-1.16.0.tgz
NetBSD 10.0earmv7hfpy39-wrapt-1.16.0.tgz
NetBSD 10.0earmv7hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0earmv7hfpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0i386py39-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy310-wrapt-1.16.0.tgz
NetBSD 10.0m68kpy311-wrapt-1.16.0.tgz
NetBSD 10.0m68kpy312-wrapt-1.16.0.tgz
NetBSD 10.0m68kpy39-wrapt-1.16.0.tgz
NetBSD 10.0m68kpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0m68kpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0mips64ebpy310-wrapt-1.16.0.tgz
NetBSD 10.0mips64ebpy311-wrapt-1.16.0.tgz
NetBSD 10.0mips64ebpy312-wrapt-1.16.0.tgz
NetBSD 10.0mips64ebpy38-wrapt-1.16.0.tgz
NetBSD 10.0mips64ebpy39-wrapt-1.16.0.tgz
NetBSD 10.0mips64ebpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0mips64ebpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0mips64ebpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0mips64ebpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0powerpcpy27-wrapt-1.15.0.tgz
NetBSD 10.0powerpcpy310-wrapt-1.15.0.tgz
NetBSD 10.0powerpcpy311-wrapt-1.15.0.tgz
NetBSD 10.0powerpcpy38-wrapt-1.15.0.tgz
NetBSD 10.0powerpcpy39-wrapt-1.15.0.tgz
NetBSD 10.0powerpcpy27-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy310-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy311-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy312-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy38-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy39-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy27-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy310-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy311-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy312-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy38-wrapt-1.16.0.tgz
NetBSD 10.0powerpcpy39-wrapt-1.16.0.tgz
NetBSD 10.0sh3elpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0sh3elpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py39-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparc64py39-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy310-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy311-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy312-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy38-wrapt-1.16.0nb1.tgz
NetBSD 10.0sparcpy39-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py310-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py311-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py312-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py38-wrapt-1.16.0nb1.tgz
NetBSD 10.0x86_64py39-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py38-wrapt-1.16.0nb1.tgz
NetBSD 9.0aarch64py39-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy38-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy39-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy38-wrapt-1.16.0nb1.tgz
NetBSD 9.0alphapy39-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv4py310-wrapt-1.16.0.tgz
NetBSD 9.0earmv4py311-wrapt-1.16.0.tgz
NetBSD 9.0earmv4py312-wrapt-1.16.0.tgz
NetBSD 9.0earmv4py38-wrapt-1.16.0.tgz
NetBSD 9.0earmv4py39-wrapt-1.16.0.tgz
NetBSD 9.0earmv4py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv4py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv4py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv4py38-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv4py39-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy312-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy27-wrapt-1.16.0.tgz
NetBSD 9.0earmv6hfpy310-wrapt-1.16.0.tgz
NetBSD 9.0earmv6hfpy311-wrapt-1.16.0.tgz
NetBSD 9.0earmv6hfpy38-wrapt-1.16.0.tgz
NetBSD 9.0earmv6hfpy39-wrapt-1.16.0.tgz
NetBSD 9.0earmv6hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy38-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv6hfpy39-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy312-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy27-wrapt-1.16.0.tgz
NetBSD 9.0earmv7hfpy310-wrapt-1.16.0.tgz
NetBSD 9.0earmv7hfpy311-wrapt-1.16.0.tgz
NetBSD 9.0earmv7hfpy38-wrapt-1.16.0.tgz
NetBSD 9.0earmv7hfpy39-wrapt-1.16.0.tgz
NetBSD 9.0earmv7hfpy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy38-wrapt-1.16.0nb1.tgz
NetBSD 9.0earmv7hfpy39-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py38-wrapt-1.16.0nb1.tgz
NetBSD 9.0i386py39-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy311-wrapt-1.16.0.tgz
NetBSD 9.0m68kpy310-wrapt-1.16.0.tgz
NetBSD 9.0m68kpy311-wrapt-1.16.0.tgz
NetBSD 9.0m68kpy39-wrapt-1.16.0.tgz
NetBSD 9.0m68kpy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy38-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy39-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy310-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy311-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy38-wrapt-1.16.0nb1.tgz
NetBSD 9.0m68kpy39-wrapt-1.16.0nb1.tgz
NetBSD 9.0powerpcpy27-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy310-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy311-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy312-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy38-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy39-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy27-wrapt-1.15.0.tgz
NetBSD 9.0powerpcpy310-wrapt-1.15.0.tgz
NetBSD 9.0powerpcpy311-wrapt-1.15.0.tgz
NetBSD 9.0powerpcpy38-wrapt-1.15.0.tgz
NetBSD 9.0powerpcpy39-wrapt-1.15.0.tgz
NetBSD 9.0powerpcpy27-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy310-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy311-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy312-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy38-wrapt-1.16.0.tgz
NetBSD 9.0powerpcpy39-wrapt-1.16.0.tgz
NetBSD 9.0sparc64py310-wrapt-1.16.0.tgz
NetBSD 9.0sparc64py311-wrapt-1.16.0.tgz
NetBSD 9.0sparc64py312-wrapt-1.16.0.tgz
NetBSD 9.0sparc64py38-wrapt-1.16.0.tgz
NetBSD 9.0sparc64py39-wrapt-1.16.0.tgz
NetBSD 9.0sparc64py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0sparc64py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0sparc64py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py310-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py311-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py312-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py38-wrapt-1.16.0nb1.tgz
NetBSD 9.0x86_64py39-wrapt-1.16.0nb1.tgz
NetBSD 9.3x86_64py310-wrapt-1.16.0nb1.tgz
NetBSD 9.3x86_64py311-wrapt-1.16.0nb1.tgz
NetBSD 9.3x86_64py312-wrapt-1.16.0nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.