pydeprecate
Simple tooling for marking deprecated functions or classes and re-routing to the new successors' instance.
Simple tooling for marking deprecated functions or classes and re-routing to the new successors' instance.
To install this package, run one of the following:
The pyDeprecate is a lightweight Python library for managing function and class deprecations with zero dependencies. It provides automatic call forwarding to replacement functions, argument mapping between old and new APIs, and configurable warning controls to prevent log spam. Key features include support for cross-module deprecations, conditional deprecation logic, automatic docstring updates, and testing utilities. Perfect for library maintainers who need to evolve their APIs while maintaining backward compatibility and providing clear migration paths for users.
Summary
Simple tooling for marking deprecated functions or classes and re-routing to the new successors' instance.
Last Updated
Dec 3, 2025 at 13:18
License
Apache-2.0
Total Downloads
1.1M
Supported Platforms
GitHub Repository
https://github.com/Borda/pyDeprecate