{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"Provides a wrapper around the deprecation library to mark and manage deprecated function and class aliases with standardized warnings.","skillfed_tags":["api-deprecation","backward-compatibility"],"use_cases":["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."],"what_it_does":"deprecation-alias is a thin wrapper around the deprecation library that adds first-class support for marking deprecated aliases\u2014old 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.\n\nThe 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.","worth_installing":"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."},"id":"deprecation-alias","links":{"html":"https://skillfed.io/packages/deprecation-alias","md":"https://skillfed.io/packages/deprecation-alias.md","pypi":"https://pypi.org/project/deprecation-alias/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-02-11","license_spdx":null,"license_treatment":"permissive","name":"deprecation-alias","python_support":"supports_current","summary":"A wrapper around 'deprecation' providing support for deprecated aliases."},"popularity":{"monthly_downloads":762172,"position":5127,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
