undecorated
Undecorate python functions, methods or classes
Decision gist · record as of 2026-08-14
Yes, if you specifically need to strip decorators and are comfortable with an abandoned package. The utility is simple, has zero dependencies, and no known vulnerabilities. However, verify it works on your Python version (last tested on 3.6) and consider forking if you need future maintenance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is frictionless with no runtime dependencies, but the project is abandoned—last release was in 2017 and last commit in 2020.
- Use only if you need this specific utility and are comfortable maintaining a fork if issues arise.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache License 2.0 (permissive), which allows commercial and private use with minimal restrictions, though you must include a copy of the license and state significant changes.
last release 2017-03-18 (3436 days) · last repo commit 2020-02-19 · 44 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,735 downloads/mo, #13,707 on PyPI
Alternatives
Verify before relying
pip install undecorated
from undecorated import undecorated
@decorator
def my_function():
pass
original = undecorated(my_function)- Whether the package works reliably on Python versions beyond 3.6 (last tested version mentioned in description)
- Whether edge cases with complex or nested decorator chains are fully handled
What it is and what it does
undecorated is a small utility that extracts the original, undecorated implementation from a Python function, method, or class. It works by unwrapping the decorator layers that have been applied, returning the core callable underneath. The library supports both function and class decorators.
The package has no runtime dependencies and installs easily, but it has been abandoned since 2017 with no active maintenance. It was tested on Python 2.6 through 3.6 at the time of its last release. If your codebase needs to introspect or access the original function beneath decorators—for testing, debugging, or metaprogramming—this package provides a straightforward way to do so, though you should be aware of its inactive status.
Use it for
- Testing decorated functions by accessing their undecorated versions to verify core logic independently
- Debugging by temporarily bypassing decorator side effects to isolate function behavior
- Metaprogramming that requires inspecting or calling the original implementation hidden by decorators
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you specifically need to strip decorators and are comfortable with an abandoned package.
The utility is simple, has zero dependencies, and no known vulnerabilities. However, verify it works on your Python version (last tested on 3.6) and consider forking if you need future maintenance.
Install
undecorated on PyPI
Before you install
Installation is frictionless with no runtime dependencies, but the project is abandoned—last release was in 2017 and last commit in 2020. Use only if you need this specific utility and are comfortable maintaining a fork if issues arise.
License in practice
Licensed under Apache License 2.0 (permissive), which allows commercial and private use with minimal restrictions, though you must include a copy of the license and state significant changes.
Quickstart
pip install undecorated
from undecorated import undecorated
@decorator
def my_function():
pass
original = undecorated(my_function)
Verify before relying
- Whether the package works reliably on Python versions beyond 3.6 (last tested version mentioned in description)
- Whether edge cases with complex or nested decorator chains are fully handled
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,436 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,735 / month, #13,707 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python |
Evidence: undecorated-0.3.0-py2-none-any.whl; undecorated-0.3.0-py3-none-any.whl
Tags
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 › “remove decorators from function”
- undecoratedStrips decorators from Python functions, methods, or classes to…
- atpublicProvides @public and @private decorators to document module…
- parameter-decoratorsProvides decorators that automatically convert function parameters to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also botoinator · venusian · wrapt · logdecorator · decopatch · singleton-decorator · sigtools · decorator · tightwrap · makefun