Apocrypha

pytz

World timezone definitions for Python

pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.3 or higher. It also solves the issue of ambiguous times at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo). Amost all (over 540) of the Olson timezones are supported.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 2026.3_p1 2 13 h details ›
tgbugs-overlay GitHub ↗ 2026.2 1 5 d details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmarm64-macoshppaloongm68kmipsppcs390sparcx64-macosx64-solaris Committed
2026.3_p1 gentoo amd64 testing arm64 testing x86 testing ppc64 testing riscv testing alpha testing arm testing arm64-macos testing hppa testing loong testing m68k testing mips testing ppc testing s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗
2026.2 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable arm64-macos testing hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗
2026.2 tgbugs-overlay amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable arm64-macos testing hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing 12 d view · download · history ↗

Use flags of 2026.3_p1

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • verify-provenance Verify provenance of PyPI distfiles (verifies that the artifact comes from upstream source repository)
6 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_14t
  • python_targets_python3_15t
  • python_targets_python3_12
  • python_targets_python3_13
  • python_targets_python3_14
  • python_targets_python3_15

Runtime dependencies of 2026.3_p1

show 22 lines
|| (
)
python_targets_python3_14t? (
)
python_targets_python3_15t? (
)
python_targets_python3_12? (
)
python_targets_python3_13? (
)
python_targets_python3_14? (
)
python_targets_python3_15? (
)