The `deprecat` library provides a Python `@deprecat` decorator for marking classes, functions, and methods as deprecated. It also includes functionality to deprecate specific arguments within a function using `@deprecat.deprecated_args`. Maintained on GitHub, it's currently at version 2.1.3 and has a moderate release cadence, with the latest significant updates focusing on bug fixes and new features like `remove_version`.
pip install deprecatVerified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of the `@deprecat` decorator on functions and methods, as well as marking specific arguments as deprecated using `@deprecat.deprecated_args`.
Always use `from deprecat import deprecat`. If you previously used the `deprecated` library, note that `deprecat` might have different behavior or features.
Ensure the decorator is always called, even if with empty parentheses: `@deprecat()`.
Import `deprecat` as `from deprecat import deprecat` and then use it as `@deprecat.deprecated_args(...)`.
Ensure you have installed `deprecat` (`pip install deprecat`) and are importing it correctly: `from deprecat import deprecat`.
Always call the decorator, even if with empty parentheses: `@deprecat()`.
No dependency data recorded yet.