deprecation-alias
A wrapper around 'deprecation' providing support for deprecated aliases.
Decision gist · record as of 2026-08-14
Yes, if you maintain a library and need to deprecate old function or class names gracefully. The package is lightweight, actively maintained, permissively licensed, and has no security issues. Install it when backward compatibility and clear migration paths matter for your users.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two lightweight runtime dependencies (deprecation and packaging).
- Active maintenance with a recent release in February 2025 and last commit in July 2026.
License · maintenance · safety
permissive license (permissive) — Apache License 2.0 is permissive; you may use, modify, and redistribute this package freely in commercial and private projects, provided you include the license and document any changes.
last release 2025-02-11 (549 days) · last repo commit 2026-07-06 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 762,172 downloads/mo, #5,127 on PyPI
Alternatives
Verify before relying
pip install deprecation-alias
from deprecation_alias import deprecated_alias
@deprecated_alias(old_name='old_function', new_name='new_function')
def new_function():
pass- Whether the package provides decorators, context managers, or other specific API patterns for marking aliases
- How the wrapper extends or simplifies the underlying deprecation library's functionality beyond alias support
What it is and what it does
deprecation-alias is a thin wrapper around the deprecation library that adds first-class support for marking deprecated aliases—old names for functions, classes, or other objects that have been renamed or replaced. Instead of manually crafting deprecation warnings for each alias, you use deprecation-alias to declare that an old name is an alias for a new one, and it handles emitting the appropriate warning when the old name is used.
The package is designed for library maintainers who need to support legacy function or class names while guiding users toward the current API. It depends on deprecation and packaging, both common and stable libraries, and supports Python 3.6 through 3.12 on CPython and PyPy. The codebase is actively maintained and carries no known security vulnerabilities.
Use it for
- Rename a function in your library while keeping the old name working with a deprecation warning for backward compatibility.
- Provide multiple names for the same class to support different naming conventions across API versions.
- Gradually migrate users away from legacy function names by issuing clear, standardized warnings when old names are called.
- Maintain a stable public API surface while refactoring internal names and organization.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you maintain a library and need to deprecate old function or class names gracefully.
The package is lightweight, actively maintained, permissively licensed, and has no security issues. Install it when backward compatibility and clear migration paths matter for your users.
Install
deprecation-alias on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (deprecation and packaging). Active maintenance with a recent release in February 2025 and last commit in July 2026.
License in practice
Apache License 2.0 is permissive; you may use, modify, and redistribute this package freely in commercial and private projects, provided you include the license and document any changes.
Quickstart
pip install deprecation-alias
from deprecation_alias import deprecated_alias
@deprecated_alias(old_name='old_function', new_name='new_function')
def new_function():
pass
Verify before relying
- Whether the package provides decorators, context managers, or other specific API patterns for marking aliases
- How the wrapper extends or simplifies the underlying deprecation library's functionality beyond alias support
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6.1 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdeprecationpackaging |
| Maintenance | Actively maintained 549 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 762,172 / month, #5,127 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: deprecation_alias-0.4.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 › “deprecated function aliases”
- deprecation-aliasProvides a wrapper around the deprecation library to mark and manage…
- flake8-tidy-importsA flake8 plugin that detects and reports unnecessary import aliases,…
- typing-aliasesProvides a collection of type aliases for Python's typing system,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also flake8-helper · handy-archives · zope.deprecation · typing-aliases · consolekit · deprecation · deprecat · Deprecated · domdf-python-tools · shippinglabel