$npx skillfedfor your agent

decopatch

Create decorators easily in python.

With conditionsPyPI Python ModulesReleased Mar 20221.7M downloads / moBSD 3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — decopatch-1.4.10-py2.py3-none-any.whl
v1.4.10 · released 2022-03-01 · 3 runtime deps: makefun, funcsigs, enum34

Yes, if you write decorators regularly and want to reduce boilerplate. The package is stable, carries no vulnerabilities, and has low install friction. However, be aware that maintenance is dormant—if you need active support or encounter edge cases, you may need to fork or maintain patches yourself. For standard decorator patterns on modern Python, consider whether the built-in functools.wraps and decorator patterns meet your needs first.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel.
  • Maintenance is dormant—last release was in 2022 and the last commit in 2024—but the package is marked Production/Stable and carries no known vulnerabilities, so it is suitable for stable decorator patterns that do not require active development.

License · maintenance · safety

BSD 3-Clause (permissive) — BSD 3-Clause is permissive, allowing commercial and private use with minimal restrictions. You must include a copy of the license and retain copyright notices, but there are no copyleft obligations.

last release 2022-03-01 (1627 days) · last repo commit 2024-06-01 · 25 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,736,077 downloads/mo, #3,606 on PyPI

Verify before relying

pip install decopatch

from decopatch import decorator

@decorator
def my_decorator(func, *args, **kwargs):
    return func(*args, **kwargs)

@my_decorator
def my_function():
    pass
  • Whether enum34 and funcsigs are truly needed on modern Python versions (they are typically backports for Python 2.7 and early Python 3).
  • Specific decorator patterns or edge cases the package handles beyond standard function wrapping.
Same gist for agents: .md · .json

What it is and what it does

Decopatch is a library that removes the friction from writing Python decorators. Creating decorators typically requires careful handling of function signatures, argument passing, and wrapper metadata—tasks that are repetitive and error-prone. Decopatch provides utilities to generate decorators with minimal boilerplate, automatically preserving the decorated function's signature and handling both parameterized and non-parameterized decorator syntax.

The package depends on makefun (for signature generation), funcsigs, and enum34 (compatibility backports). It is marked Production/Stable and supports Python 2.7 through 3.9. The codebase is dormant but stable, with no known security vulnerabilities, making it a low-risk choice for projects that need straightforward decorator creation without active maintenance demands.

Use it for

  • Writing a logging decorator that wraps functions while preserving their original signatures and metadata.
  • Creating a retry decorator that can be used with or without arguments (@retry or @retry(max_attempts=3)).
  • Building a validation decorator that inspects function arguments before execution.
  • Generating timing or profiling decorators that measure function execution without altering the wrapped function's interface.
  • Implementing authorization or access-control decorators for web frameworks or APIs.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you write decorators regularly and want to reduce boilerplate.

The package is stable, carries no vulnerabilities, and has low install friction. However, be aware that maintenance is dormant—if you need active support or encounter edge cases, you may need to fork or maintain patches yourself. For standard decorator patterns on modern Python, consider whether the built-in functools.wraps and decorator patterns meet your needs first.

Install

decopatch on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is dormant—last release was in 2022 and the last commit in 2024—but the package is marked Production/Stable and carries no known vulnerabilities, so it is suitable for stable decorator patterns that do not require active development.

License in practice

BSD 3-Clause is permissive, allowing commercial and private use with minimal restrictions. You must include a copy of the license and retain copyright notices, but there are no copyleft obligations.

Quickstart

pip install decopatch

from decopatch import decorator

@decorator
def my_decorator(func, *args, **kwargs):
    return func(*args, **kwargs)

@my_decorator
def my_function():
    pass

Verify before relying

  • Whether enum34 and funcsigs are truly needed on modern Python versions (they are typically backports for Python 2.7 and early Python 3).
  • Specific decorator patterns or edge cases the package handles beyond standard function wrapping.

Package facts

LicenseBSD 3-Clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
makefunfuncsigsenum34
MaintenanceDormant 1,627 days since the last release
Last repo commit
First released
Downloads1,736,077 / month, #3,606 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: decopatch-1.4.10-py2.py3-none-any.whl

Tags

Capabilities
python decorator creationdecorator with argumentspreserve function signaturedecorator boilerplateeasy decorator libraryfunction wrapping utilitiesdecorator generator
Topics
decorator-utilitiespython-2-compatible
PyPI keywords
decoratedecoratorfunctionclassparenthesisgenerategenerationdefinedefinitionsignatureargswrapperwrapsautoeasypreserve

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python decorator creation”

  • decopatchDecopatch simplifies writing decorators in Python by handling the…
  • otel-extensionsProvides helper classes, decorators, and functions to simplify setup…
  • singleton-decoratorProvides a decorator that enforces singleton pattern on classes while…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also decorator · makefun · purify · sigtools · tightwrap · wrapt · undecorated · Autologging · django-annoying · backcall