openRuyi Lookout
← Packages

python-wrapt

A Python module for decorators, wrappers and monkey patching

Current
2.1.1
Candidate
2.5.2Stale
License
BSD-2-Clause

Build

TargetResultLast successful versionSucceeded at
rva23
2.1.1
rva20
2.1.1
x86_64
2.1.1

RuntimeDeps

DependencyObserved sourceCurrent requirementCandidate requirement
3.14.9

Optional RuntimeDeps

DependencyObserved sourceCurrent requirementCandidate requirement
9.0.3
83.0.0
Dependency conditions

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. 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.

Changelog

PR · 2

Checks
MonitorObservationLast checked
Stale
Repository refresh: git fetch exited 128 (authentication)
Stale
Source last confirmed at 2026-11-10T13:32:55+00:00; repository refresh overdue.
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Checked
Compared same-provider, same-project SPDX metadata for this version pair.
Last attempted
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked