{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"}],"enrichment":{"capability":"Provides drop-in timezone shims that support both the standard PEP 495 datetime interface and pytz's legacy localize/normalize methods, allowing libraries to deprecate pytz gradually.","skillfed_tags":["timezone-migration","deprecated-tool"],"use_cases":["Migrate a library away from pytz while maintaining backward compatibility with users still calling localize() and normalize().","Provide a deprecation path for applications that have embedded pytz zones in their public API.","Test datetime arithmetic across daylight saving time transitions using standard PEP 495 semantics instead of pytz's non-standard behavior.","Gradually transition codebases from pytz to zoneinfo by using shim zones that work with both interfaces."],"what_it_does":"pytz_deprecation_shim provides timezone objects that bridge the gap between pytz's non-standard interface and the modern PEP 495 standard. It wraps timezone data to accept both the old pytz methods (localize, normalize) and the standard datetime fold attribute, emitting deprecation warnings when legacy methods are called. This allows library maintainers to remove their pytz dependency without immediately breaking code that still uses pytz-style timezone handling.\n\nThe package is explicitly designed as a temporary migration tool, not a long-term solution. It depends on python-dateutil, tzdata, and backports.zoneinfo to provide the underlying timezone data and compatibility layer. However, the project has been abandoned since June 2020 with no updates since March 2022, making it risky for new projects or those requiring ongoing support.","worth_installing":"No, except in narrow circumstances. The package is abandoned and has not been updated in over four years. While it has low install friction and a permissive license, its core purpose\u2014helping libraries deprecate pytz\u2014is now better served by directly migrating to zoneinfo (Python 3.9+) or backports.zoneinfo (earlier versions). Use this only if you are actively maintaining a library that has already exposed pytz zones to users and need a temporary bridge; for new projects, migrate directly to zoneinfo."},"id":"pytz-deprecation-shim","links":{"html":"https://skillfed.io/packages/pytz-deprecation-shim","md":"https://skillfed.io/packages/pytz-deprecation-shim.md","pypi":"https://pypi.org/project/pytz-deprecation-shim/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-06-17","license_spdx":null,"license_treatment":"permissive","name":"pytz-deprecation-shim","python_support":"supports_current","summary":"Shims to make deprecation of pytz easier"},"popularity":{"monthly_downloads":3046922,"position":2775,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.0.post0"}
