Simple tooling for marking deprecated functions or classes and re-routing to the new successors' instance.
copied from cf-post-staging / pydeprecateThe 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.