{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/2"}],"enrichment":{"capability":"Provides IANA time zone support for Python 3.6\u20133.8 by backporting the standard library's `zoneinfo` module, enabling timezone-aware datetime handling with automatic daylight-saving transitions.","skillfed_tags":["timezone-handling","backport","datetime"],"use_cases":["Support timezone-aware datetime handling in applications targeting Python 3.6\u20133.8 without reimplementing timezone logic.","Migrate code from older Python versions to use modern IANA time zone handling before upgrading to Python 3.9+.","Handle DST transitions and ambiguous times correctly in scheduling, logging, or time-series applications.","Build cross-version compatible libraries that work on Python 3.6+ by conditionally importing from backports or stdlib."],"what_it_does":"backports.zoneinfo is a backport of Python 3.9's standard library `zoneinfo` module to Python 3.6, 3.7, and 3.8. It provides the `ZoneInfo` class, which lets you attach IANA time zone information to datetime objects, enabling proper handling of daylight-saving transitions and timezone-aware arithmetic without manual normalization. The module uses system time zone data when available and falls back to the `importlib-resources` dependency if needed.\n\nThe package is a drop-in replacement for the standard library version, so code written for Python 3.9+ can be made backward-compatible by using a try-except import pattern. It handles ambiguous and imaginary times (e.g., during DST transitions) using the `fold` attribute, and datetime arithmetic automatically adjusts for offset changes across time zone boundaries.","worth_installing":"Yes, if you need timezone support on Python 3.6\u20133.8. It is a stable, permissive-licensed backport with no known vulnerabilities and low maintenance burden since the implementation is frozen. However, if you are already on Python 3.9+, use the standard library `zoneinfo` instead. Dormant maintenance is not a concern here because the module is feature-complete."},"id":"backports-zoneinfo","links":{"html":"https://skillfed.io/packages/backports-zoneinfo","md":"https://skillfed.io/packages/backports-zoneinfo.md","pypi":"https://pypi.org/project/backports-zoneinfo/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-06-23","license_spdx":null,"license_treatment":"permissive","name":"backports.zoneinfo","python_support":"supports_current","summary":"Backport of the standard library zoneinfo module"},"popularity":{"monthly_downloads":6737721,"position":1861,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
