time/py-pytz - The NetBSD Packages Collection

World timezone definitions, modern and historical

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 [*].

Note that if you perform date arithmetic on local times that cross DST
boundaries, the results may be in an incorrect timezone (ie. subtract 1
minute from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of
the correct 2002-10-27 1:59 EDT). This cannot be resolved without modifying
the Python datetime implementation. However, these tzinfo classes provide a
normalize() method which allows you to correct these values.

Build dependencies

devel/py-setuptools devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-pytz-2024.2.tgz
NetBSD 10.0aarch64py311-pytz-2024.2.tgz
NetBSD 10.0aarch64py312-pytz-2024.2.tgz
NetBSD 10.0aarch64py310-pytz-2024.1.tgz
NetBSD 10.0aarch64py311-pytz-2024.1.tgz
NetBSD 10.0aarch64py312-pytz-2024.1.tgz
NetBSD 10.0aarch64py38-pytz-2024.1.tgz
NetBSD 10.0aarch64py39-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy27-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy310-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy311-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy312-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy38-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy39-pytz-2024.1.tgz
NetBSD 10.0aarch64ebpy310-pytz-2024.2.tgz
NetBSD 10.0aarch64ebpy311-pytz-2024.2.tgz
NetBSD 10.0aarch64ebpy312-pytz-2024.2.tgz
NetBSD 10.0alphapy27-pytz-2024.1.tgz
NetBSD 10.0alphapy310-pytz-2024.1.tgz
NetBSD 10.0alphapy311-pytz-2024.1.tgz
NetBSD 10.0alphapy312-pytz-2024.1.tgz
NetBSD 10.0alphapy38-pytz-2024.1.tgz
NetBSD 10.0alphapy39-pytz-2024.1.tgz
NetBSD 10.0alphapy310-pytz-2024.2.tgz
NetBSD 10.0alphapy311-pytz-2024.2.tgz
NetBSD 10.0alphapy312-pytz-2024.2.tgz
NetBSD 10.0earmv4py27-pytz-2024.1.tgz
NetBSD 10.0earmv4py310-pytz-2024.1.tgz
NetBSD 10.0earmv4py311-pytz-2024.1.tgz
NetBSD 10.0earmv4py312-pytz-2024.1.tgz
NetBSD 10.0earmv4py38-pytz-2024.1.tgz
NetBSD 10.0earmv4py39-pytz-2024.1.tgz
NetBSD 10.0earmv4py310-pytz-2024.2.tgz
NetBSD 10.0earmv4py311-pytz-2024.2.tgz
NetBSD 10.0earmv4py312-pytz-2024.2.tgz
NetBSD 10.0earmv6hfpy310-pytz-2024.2.tgz
NetBSD 10.0earmv6hfpy311-pytz-2024.2.tgz
NetBSD 10.0earmv6hfpy312-pytz-2024.2.tgz
NetBSD 10.0earmv6hfpy27-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy310-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy311-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy312-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy38-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy39-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy310-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy311-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy312-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy38-pytz-2024.1.tgz
NetBSD 10.0earmv6hfpy39-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy310-pytz-2024.2.tgz
NetBSD 10.0earmv7hfpy311-pytz-2024.2.tgz
NetBSD 10.0earmv7hfpy312-pytz-2024.2.tgz
NetBSD 10.0earmv7hfpy27-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy310-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy311-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy312-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy38-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy39-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy310-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy311-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy312-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy38-pytz-2024.1.tgz
NetBSD 10.0earmv7hfpy39-pytz-2024.1.tgz
NetBSD 10.0i386py310-pytz-2024.2.tgz
NetBSD 10.0i386py311-pytz-2024.2.tgz
NetBSD 10.0i386py312-pytz-2024.2.tgz
NetBSD 10.0i386py310-pytz-2024.1.tgz
NetBSD 10.0i386py311-pytz-2024.1.tgz
NetBSD 10.0i386py312-pytz-2024.1.tgz
NetBSD 10.0i386py38-pytz-2024.1.tgz
NetBSD 10.0i386py39-pytz-2024.1.tgz
NetBSD 10.0m68kpy310-pytz-2024.1.tgz
NetBSD 10.0m68kpy311-pytz-2024.1.tgz
NetBSD 10.0m68kpy312-pytz-2024.1.tgz
NetBSD 10.0m68kpy38-pytz-2024.1.tgz
NetBSD 10.0m68kpy39-pytz-2024.1.tgz
NetBSD 10.0m68kpy310-pytz-2024.1.tgz
NetBSD 10.0m68kpy311-pytz-2024.1.tgz
NetBSD 10.0m68kpy312-pytz-2024.1.tgz
NetBSD 10.0m68kpy38-pytz-2024.1.tgz
NetBSD 10.0m68kpy39-pytz-2024.1.tgz
NetBSD 10.0m68kpy310-pytz-2024.2.tgz
NetBSD 10.0m68kpy311-pytz-2024.2.tgz
NetBSD 10.0m68kpy312-pytz-2024.2.tgz
NetBSD 10.0mips64ebpy27-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy310-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy311-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy312-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy38-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy39-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy27-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy310-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy311-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy312-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy38-pytz-2024.1.tgz
NetBSD 10.0mips64ebpy39-pytz-2024.1.tgz
NetBSD 10.0powerpcpy27-pytz-2023.3.tgz
NetBSD 10.0powerpcpy310-pytz-2023.3.tgz
NetBSD 10.0powerpcpy311-pytz-2023.3.tgz
NetBSD 10.0powerpcpy38-pytz-2023.3.tgz
NetBSD 10.0powerpcpy39-pytz-2023.3.tgz
NetBSD 10.0powerpcpy27-pytz-2023.3.post1.tgz
NetBSD 10.0powerpcpy310-pytz-2023.3.post1.tgz
NetBSD 10.0powerpcpy311-pytz-2023.3.post1.tgz
NetBSD 10.0powerpcpy312-pytz-2023.3.post1.tgz
NetBSD 10.0powerpcpy38-pytz-2023.3.post1.tgz
NetBSD 10.0powerpcpy39-pytz-2023.3.post1.tgz
NetBSD 10.0powerpcpy27-pytz-2024.1.tgz
NetBSD 10.0powerpcpy310-pytz-2024.1.tgz
NetBSD 10.0powerpcpy311-pytz-2024.1.tgz
NetBSD 10.0powerpcpy312-pytz-2024.1.tgz
NetBSD 10.0powerpcpy38-pytz-2024.1.tgz
NetBSD 10.0powerpcpy39-pytz-2024.1.tgz
NetBSD 10.0sh3elpy27-pytz-2024.1.tgz
NetBSD 10.0sh3elpy310-pytz-2024.1.tgz
NetBSD 10.0sh3elpy311-pytz-2024.1.tgz
NetBSD 10.0sh3elpy312-pytz-2024.1.tgz
NetBSD 10.0sh3elpy38-pytz-2024.1.tgz
NetBSD 10.0sh3elpy39-pytz-2024.1.tgz
NetBSD 10.0sh3elpy310-pytz-2024.2.tgz
NetBSD 10.0sh3elpy311-pytz-2024.2.tgz
NetBSD 10.0sh3elpy312-pytz-2024.2.tgz
NetBSD 10.0sparc64py27-pytz-2024.1.tgz
NetBSD 10.0sparc64py310-pytz-2024.1.tgz
NetBSD 10.0sparc64py311-pytz-2024.1.tgz
NetBSD 10.0sparc64py312-pytz-2024.1.tgz
NetBSD 10.0sparc64py38-pytz-2024.1.tgz
NetBSD 10.0sparc64py39-pytz-2024.1.tgz
NetBSD 10.0sparc64py310-pytz-2024.2.tgz
NetBSD 10.0sparc64py311-pytz-2024.2.tgz
NetBSD 10.0sparc64py312-pytz-2024.2.tgz
NetBSD 10.0sparcpy27-pytz-2024.1.tgz
NetBSD 10.0sparcpy310-pytz-2024.1.tgz
NetBSD 10.0sparcpy311-pytz-2024.1.tgz
NetBSD 10.0sparcpy312-pytz-2024.1.tgz
NetBSD 10.0sparcpy38-pytz-2024.1.tgz
NetBSD 10.0sparcpy39-pytz-2024.1.tgz
NetBSD 10.0sparcpy310-pytz-2024.2.tgz
NetBSD 10.0sparcpy311-pytz-2024.2.tgz
NetBSD 10.0sparcpy312-pytz-2024.2.tgz
NetBSD 10.0x86_64py310-pytz-2024.2.tgz
NetBSD 10.0x86_64py311-pytz-2024.2.tgz
NetBSD 10.0x86_64py312-pytz-2024.2.tgz
NetBSD 10.0x86_64py310-pytz-2024.1.tgz
NetBSD 10.0x86_64py311-pytz-2024.1.tgz
NetBSD 10.0x86_64py312-pytz-2024.1.tgz
NetBSD 10.0x86_64py38-pytz-2024.1.tgz
NetBSD 10.0x86_64py39-pytz-2024.1.tgz
NetBSD 9.0aarch64py310-pytz-2024.2.tgz
NetBSD 9.0aarch64py311-pytz-2024.2.tgz
NetBSD 9.0aarch64py312-pytz-2024.2.tgz
NetBSD 9.0aarch64py310-pytz-2024.1.tgz
NetBSD 9.0aarch64py311-pytz-2024.1.tgz
NetBSD 9.0aarch64py312-pytz-2024.1.tgz
NetBSD 9.0aarch64py38-pytz-2024.1.tgz
NetBSD 9.0aarch64py39-pytz-2024.1.tgz
NetBSD 9.0alphapy310-pytz-2024.1.tgz
NetBSD 9.0alphapy311-pytz-2024.1.tgz
NetBSD 9.0alphapy38-pytz-2024.1.tgz
NetBSD 9.0alphapy39-pytz-2024.1.tgz
NetBSD 9.0alphapy310-pytz-2024.2.tgz
NetBSD 9.0alphapy311-pytz-2024.2.tgz
NetBSD 9.0earmv4py27-pytz-2023.3.post1.tgz
NetBSD 9.0earmv4py27-pytz-2024.1.tgz
NetBSD 9.0earmv4py310-pytz-2024.1.tgz
NetBSD 9.0earmv4py311-pytz-2024.1.tgz
NetBSD 9.0earmv4py312-pytz-2024.1.tgz
NetBSD 9.0earmv4py38-pytz-2024.1.tgz
NetBSD 9.0earmv4py39-pytz-2024.1.tgz
NetBSD 9.0earmv4py310-pytz-2024.2.tgz
NetBSD 9.0earmv4py311-pytz-2024.2.tgz
NetBSD 9.0earmv4py312-pytz-2024.2.tgz
NetBSD 9.0earmv6hfpy310-pytz-2024.2.tgz
NetBSD 9.0earmv6hfpy311-pytz-2024.2.tgz
NetBSD 9.0earmv6hfpy312-pytz-2024.2.tgz
NetBSD 9.0earmv6hfpy27-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy310-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy311-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy38-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy39-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy310-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy311-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy38-pytz-2024.1.tgz
NetBSD 9.0earmv6hfpy39-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy310-pytz-2024.2.tgz
NetBSD 9.0earmv7hfpy311-pytz-2024.2.tgz
NetBSD 9.0earmv7hfpy312-pytz-2024.2.tgz
NetBSD 9.0earmv7hfpy27-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy310-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy311-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy38-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy39-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy310-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy311-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy38-pytz-2024.1.tgz
NetBSD 9.0earmv7hfpy39-pytz-2024.1.tgz
NetBSD 9.0i386py310-pytz-2024.2.tgz
NetBSD 9.0i386py311-pytz-2024.2.tgz
NetBSD 9.0i386py312-pytz-2024.2.tgz
NetBSD 9.0i386py310-pytz-2024.1.tgz
NetBSD 9.0i386py311-pytz-2024.1.tgz
NetBSD 9.0i386py312-pytz-2024.1.tgz
NetBSD 9.0i386py38-pytz-2024.1.tgz
NetBSD 9.0i386py39-pytz-2024.1.tgz
NetBSD 9.0m68kpy311-pytz-2023.3.post1.tgz
NetBSD 9.0m68kpy310-pytz-2024.1.tgz
NetBSD 9.0m68kpy311-pytz-2024.1.tgz
NetBSD 9.0m68kpy38-pytz-2024.1.tgz
NetBSD 9.0m68kpy39-pytz-2024.1.tgz
NetBSD 9.0m68kpy310-pytz-2024.1.tgz
NetBSD 9.0m68kpy311-pytz-2024.1.tgz
NetBSD 9.0m68kpy38-pytz-2024.1.tgz
NetBSD 9.0m68kpy39-pytz-2024.1.tgz
NetBSD 9.0m68kpy310-pytz-2024.2.tgz
NetBSD 9.0m68kpy311-pytz-2024.2.tgz
NetBSD 9.0powerpcpy27-pytz-2023.3.post1.tgz
NetBSD 9.0powerpcpy310-pytz-2023.3.post1.tgz
NetBSD 9.0powerpcpy311-pytz-2023.3.post1.tgz
NetBSD 9.0powerpcpy312-pytz-2023.3.post1.tgz
NetBSD 9.0powerpcpy38-pytz-2023.3.post1.tgz
NetBSD 9.0powerpcpy39-pytz-2023.3.post1.tgz
NetBSD 9.0powerpcpy27-pytz-2023.3.tgz
NetBSD 9.0powerpcpy310-pytz-2023.3.tgz
NetBSD 9.0powerpcpy311-pytz-2023.3.tgz
NetBSD 9.0powerpcpy38-pytz-2023.3.tgz
NetBSD 9.0powerpcpy39-pytz-2023.3.tgz
NetBSD 9.0powerpcpy27-pytz-2024.1.tgz
NetBSD 9.0powerpcpy310-pytz-2024.1.tgz
NetBSD 9.0powerpcpy311-pytz-2024.1.tgz
NetBSD 9.0powerpcpy312-pytz-2024.1.tgz
NetBSD 9.0powerpcpy38-pytz-2024.1.tgz
NetBSD 9.0powerpcpy39-pytz-2024.1.tgz
NetBSD 9.0sparc64py27-pytz-2024.1.tgz
NetBSD 9.0sparc64py310-pytz-2024.1.tgz
NetBSD 9.0sparc64py311-pytz-2024.1.tgz
NetBSD 9.0sparc64py312-pytz-2024.1.tgz
NetBSD 9.0sparc64py38-pytz-2024.1.tgz
NetBSD 9.0sparc64py39-pytz-2024.1.tgz
NetBSD 9.0sparc64py310-pytz-2024.2.tgz
NetBSD 9.0sparc64py311-pytz-2024.2.tgz
NetBSD 9.0sparc64py312-pytz-2024.2.tgz
NetBSD 9.0x86_64py310-pytz-2024.2.tgz
NetBSD 9.0x86_64py311-pytz-2024.2.tgz
NetBSD 9.0x86_64py312-pytz-2024.2.tgz
NetBSD 9.0x86_64py310-pytz-2024.1.tgz
NetBSD 9.0x86_64py311-pytz-2024.1.tgz
NetBSD 9.0x86_64py312-pytz-2024.1.tgz
NetBSD 9.0x86_64py38-pytz-2024.1.tgz
NetBSD 9.0x86_64py39-pytz-2024.1.tgz
NetBSD 9.3x86_64py310-pytz-2024.2.tgz
NetBSD 9.3x86_64py311-pytz-2024.2.tgz
NetBSD 9.3x86_64py312-pytz-2024.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.