$npx skillfedfor your agent

pyDeprecate

Python deprecation decorator: call forwarding, argument mapping, class proxying, CI audit. Zero deps.

Worth itPyPI LibrariesReleased Jul 2026911.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pydeprecate-0.11.0-py3-none-any.whl
v0.11.0 · released 2026-07-17 · Python >=3.9

Yes. pyDeprecate is actively maintained, has zero dependencies, supports modern Python versions, and solves a real problem in API evolution. Use it when you need to rename or move code without breaking existing callers. The audit tools make it practical to enforce removal deadlines in CI. No security issues reported.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Installs cleanly with no runtime dependencies.
  • Active maintenance: last commit 2026-08-13, released 2026-07-17 (28 days ago).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 (permissive): you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

last release 2026-07-17 (28 days) · last repo commit 2026-08-13 · 61 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 911,644 downloads/mo, #4,744 on PyPI

Verify before relying

pip install pyDeprecate

from deprecate import deprecated

def new_func(x: int) -> int:
    return x * 2

@deprecated(target=new_func, deprecated_in="1.0", remove_in="2.0")
def old_func(x: int) -> int:
    pass

result = old_func(5)
  • Performance overhead of the deprecation wrapper at scale in tight loops or high-frequency call sites.
  • Interaction with type checkers (mypy, pyright) when using deprecated decorators on overloaded functions.
Same gist for agents: .md · .json

What it is and what it does

pyDeprecate is a decorator library that lets you keep old function and class names working while you migrate to new ones. When someone calls a deprecated function, the library automatically forwards the call to its replacement, emits a warning (once per function by default to avoid spam), and optionally remaps old argument names to new ones. It works with regular functions, async coroutines, generators, properties, classes, Enums, dataclasses, and module-level constants.

The package is built for API migration workflows: you rename a function, move a class, or retire an argument, but old user code must keep working during a transition window. pyDeprecate handles the forwarding transparently, preserves function signatures for introspection, and includes CI audit tools to enforce removal deadlines and detect deprecation chains that linger too long. It has zero runtime dependencies and supports Python 3.9 through 3.14.

Use it for

  • Rename a function across your codebase while keeping the old name working for external callers during a grace period.
  • Move a class to a new module and expose it at the old location with a deprecation warning.
  • Change function argument names and automatically remap old call sites to the new names.
  • Deprecate an entire class or Enum with a transparent proxy that warns on access.
  • Enforce in CI that deprecated APIs are removed by their deadline using audit metadata helpers.
  • Wrap constants or singleton objects as read-only deprecated instances to prevent accidental mutation.

Worth the install?

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

Worth it

Yes.

pyDeprecate is actively maintained, has zero dependencies, supports modern Python versions, and solves a real problem in API evolution. Use it when you need to rename or move code without breaking existing callers. The audit tools make it practical to enforce removal deadlines in CI. No security issues reported.

Install

pydeprecate on PyPI

Before you install

Installs cleanly with no runtime dependencies. Active maintenance: last commit 2026-08-13, released 2026-07-17 (28 days ago). Supports Python 3.9 through 3.14.

Requires Python 3.9 or later.

License in practice

Apache-2.0 (permissive): you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install pyDeprecate

from deprecate import deprecated

def new_func(x: int) -> int:
    return x * 2

@deprecated(target=new_func, deprecated_in="1.0", remove_in="2.0")
def old_func(x: int) -> int:
    pass

result = old_func(5)

Verify before relying

  • Performance overhead of the deprecation wrapper at scale in tight loops or high-frequency call sites.
  • Interaction with type checkers (mypy, pyright) when using deprecated decorators on overloaded functions.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 28 days since the last release
Last repo commit
First released
Downloads911,644 / month, #4,744 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: pydeprecate-0.11.0-py3-none-any.whl

Tags

Capabilities
deprecation decorator pythonfunction call forwardingargument renaming backwards compatibilityapi migration tooldeprecation audit ciclass proxy deprecationwarning forwarding decorator
Topics
api-migrationbackwards-compatibilityci-audit
PyPI keywords
deprecationdecoratorAPI migrationcall forwardingargument renamingbackwards compatibilityCI audit

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 › “function call forwarding”

  • pyDeprecateDeprecate Python functions, methods, classes, and constants with…
  • graypyProvides Python logging handlers that format and send log messages to…
  • jaraco.netjaraco.net provides miscellaneous networking utility functions,…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also deprecat · legacy-api-wrap · Deprecated · deprecation · zope.deprecation · griffe-warnings-deprecated · django-deprecate-fields · flake8-deprecated · debtcollector · apify-shared