$npx skillfedfor your agent

backports.zoneinfo

Backport of the standard library zoneinfo module

With conditionsPyPI Software DevelopmentReleased Jun 20206.7M downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — backports.zoneinfo-0.2.1-cp36-cp36m-macosx_10_14_x86_64.whl · backports.zoneinfo-0.2.1-cp36-cp36m-manylinux1_i686.whl · backports.zoneinfo-0.2.1-cp36-cp36m-manylinux1_x86_64.whl
v0.2.1 · released 2020-06-23 · Python >=3.6 · 1 runtime deps: importlib-resources

Yes, if you need timezone support on Python 3.6–3.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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later; on Python 3.9+ the standard library `zoneinfo` is preferred and this backport is not necessary.
  • Medium install friction due to compiled wheels for multiple Python versions and platforms.
  • Dormant maintenance status (last release June 2020, last commit September 2024) means no active development, but the package is stable and unlikely to need updates.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.

last release 2020-06-23 (2243 days) · last repo commit 2024-09-03 · 56 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,737,721 downloads/mo, #1,861 on PyPI

Verify before relying

pip install backports.zoneinfo

try:
    import zoneinfo
except ImportError:
    from backports import zoneinfo

from datetime import datetime
dt = datetime(1992, 3, 1, tzinfo=zoneinfo.ZoneInfo("Europe/Minsk"))
print(dt)
  • Whether system time zone data is reliably available on all supported platforms or if tzdata fallback is typically required.
  • Current maintenance status and whether the package receives bug fixes for Python 3.6–3.8 users.
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • Support timezone-aware datetime handling in applications targeting Python 3.6–3.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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need timezone support on Python 3.6–3.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.

Install

backports-zoneinfo on PyPI

Before you install

Medium install friction due to compiled wheels for multiple Python versions and platforms. Dormant maintenance status (last release June 2020, last commit September 2024) means no active development, but the package is stable and unlikely to need updates.

Requires Python 3.6 or later; on Python 3.9+ the standard library `zoneinfo` is preferred and this backport is not necessary.

License in practice

Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.

Quickstart

pip install backports.zoneinfo

try:
    import zoneinfo
except ImportError:
    from backports import zoneinfo

from datetime import datetime
dt = datetime(1992, 3, 1, tzinfo=zoneinfo.ZoneInfo("Europe/Minsk"))
print(dt)

Verify before relying

  • Whether system time zone data is reliably available on all supported platforms or if tzdata fallback is typically required.
  • Current maintenance status and whether the package receives bug fixes for Python 3.6–3.8 users.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.6
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
importlib-resources
MaintenanceDormant 2,243 days since the last release
Last repo commit
First released
Downloads6,737,721 / month, #1,861 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Evidence: backports.zoneinfo-0.2.1-cp36-cp36m-macosx_10_14_x86_64.whl; backports.zoneinfo-0.2.1-cp36-cp36m-manylinux1_i686.whl; backports.zoneinfo-0.2.1-cp36-cp36m-manylinux1_x86_64.whl; backports.zoneinfo-0.2.1-cp36-cp36m-win32.whl; backports.zoneinfo-0.2.1-cp36-cp36m-win_amd64.whl; backports.zoneinfo-0.2.1-cp37-cp37m-macosx_10_14_x86_64.whl; backports.zoneinfo-0.2.1-cp37-cp37m-manylinux1_i686.whl; backports.zoneinfo-0.2.1-cp37-cp37m-manylinux1_x86_64.whl; backports.zoneinfo-0.2.1-cp37-cp37m-win32.whl; backports.zoneinfo-0.2.1-cp37-cp37m-win_amd64.whl; backports.zoneinfo-0.2.1-cp38-cp38-macosx_10_14_x86_64.whl; backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_i686.whl; backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl; backports.zoneinfo-0.2.1-cp38-cp38-win32.whl; backports.zoneinfo-0.2.1-cp38-cp38-win_amd64.whl

Tags

Capabilities
timezone support python 3.6 3.7 3.8IANA time zone database backportzoneinfo backportdatetime timezone handlingdaylight saving time transitionstimezone-aware datetimepython timezone library
Topics
timezone-handlingbackportdatetime

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “timezone support python 3.6 3.7 3.8”

  • backports.zoneinfoProvides IANA time zone support for Python 3.6–3.8 by backporting the…
  • pickle5Backports the pickle 5 protocol (PEP 574) and related pickle module…
  • backports.cached-propertyProvides the cached_property decorator for Python 3.6 and 3.7,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pytz · tzdata · pytz-deprecation-shim · backports-datetime-fromisoformat · tzlocal · django-timezone-field · whenever · SQLAlchemy-Utc · mcp-server-time · contextvars