Deprecation library for Python code