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

pkgtools/cwrappers

Runtime dependencies

devel/py-setuptools lang/python38 lang/python38

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfpy27-pytz-2020.4.tgz
NetBSD 8.0earmv7hfpy36-pytz-2020.4.tgz
NetBSD 8.0earmv7hfpy37-pytz-2020.4.tgz
NetBSD 8.0earmv7hfpy38-pytz-2020.4.tgz
NetBSD 8.0earmv7hfpy39-pytz-2020.4.tgz
NetBSD 8.0earmv7hfpy27-pytz-2020.1.tgz
NetBSD 8.0earmv7hfpy36-pytz-2020.1.tgz
NetBSD 8.0earmv7hfpy37-pytz-2020.1.tgz
NetBSD 8.0earmv7hfpy38-pytz-2020.1.tgz
NetBSD 8.0earmv7hfpy27-pytz-2021.1.tgz
NetBSD 8.0earmv7hfpy36-pytz-2021.1.tgz
NetBSD 8.0earmv7hfpy37-pytz-2021.1.tgz
NetBSD 8.0earmv7hfpy38-pytz-2021.1.tgz
NetBSD 8.0earmv7hfpy39-pytz-2021.1.tgz
NetBSD 8.0i386py27-pytz-2020.1.tgz
NetBSD 8.0i386py36-pytz-2020.1.tgz
NetBSD 8.0i386py37-pytz-2020.1.tgz
NetBSD 8.0i386py38-pytz-2020.1.tgz
NetBSD 8.0i386py27-pytz-2020.4.tgz
NetBSD 8.0i386py36-pytz-2020.4.tgz
NetBSD 8.0i386py37-pytz-2020.4.tgz
NetBSD 8.0i386py38-pytz-2020.4.tgz
NetBSD 8.0i386py39-pytz-2020.4.tgz
NetBSD 8.0i386py27-pytz-2021.1.tgz
NetBSD 8.0i386py36-pytz-2021.1.tgz
NetBSD 8.0i386py37-pytz-2021.1.tgz
NetBSD 8.0i386py38-pytz-2021.1.tgz
NetBSD 8.0i386py39-pytz-2021.1.tgz
NetBSD 8.0powerpcpy27-pytz-2020.1.tgz
NetBSD 8.0powerpcpy36-pytz-2020.1.tgz
NetBSD 8.0powerpcpy37-pytz-2020.1.tgz
NetBSD 8.0powerpcpy38-pytz-2020.1.tgz
NetBSD 8.0powerpcpy27-pytz-2021.1.tgz
NetBSD 8.0powerpcpy36-pytz-2021.1.tgz
NetBSD 8.0powerpcpy37-pytz-2021.1.tgz
NetBSD 8.0powerpcpy38-pytz-2021.1.tgz
NetBSD 8.0powerpcpy39-pytz-2021.1.tgz
NetBSD 8.0powerpcpy27-pytz-2020.4.tgz
NetBSD 8.0powerpcpy36-pytz-2020.4.tgz
NetBSD 8.0powerpcpy37-pytz-2020.4.tgz
NetBSD 8.0powerpcpy38-pytz-2020.4.tgz
NetBSD 8.0powerpcpy39-pytz-2020.4.tgz
NetBSD 8.0powerpcpy27-pytz-2021.1.tgz
NetBSD 8.0powerpcpy36-pytz-2021.1.tgz
NetBSD 8.0powerpcpy37-pytz-2021.1.tgz
NetBSD 8.0powerpcpy38-pytz-2021.1.tgz
NetBSD 8.0powerpcpy39-pytz-2021.1.tgz
NetBSD 8.0x86_64py27-pytz-2021.1.tgz
NetBSD 8.0x86_64py36-pytz-2021.1.tgz
NetBSD 8.0x86_64py37-pytz-2021.1.tgz
NetBSD 8.0x86_64py38-pytz-2021.1.tgz
NetBSD 8.0x86_64py39-pytz-2021.1.tgz
NetBSD 8.0x86_64py27-pytz-2020.1.tgz
NetBSD 8.0x86_64py36-pytz-2020.1.tgz
NetBSD 8.0x86_64py37-pytz-2020.1.tgz
NetBSD 8.0x86_64py38-pytz-2020.1.tgz
NetBSD 8.0x86_64py27-pytz-2020.4.tgz
NetBSD 8.0x86_64py36-pytz-2020.4.tgz
NetBSD 8.0x86_64py37-pytz-2020.4.tgz
NetBSD 8.0x86_64py38-pytz-2020.4.tgz
NetBSD 8.0x86_64py39-pytz-2020.4.tgz
NetBSD 9.0aarch64py27-pytz-2020.1.tgz
NetBSD 9.0aarch64py36-pytz-2020.1.tgz
NetBSD 9.0aarch64py37-pytz-2020.1.tgz
NetBSD 9.0aarch64py38-pytz-2020.1.tgz
NetBSD 9.0aarch64py27-pytz-2020.4.tgz
NetBSD 9.0aarch64py36-pytz-2020.4.tgz
NetBSD 9.0aarch64py37-pytz-2020.4.tgz
NetBSD 9.0aarch64py38-pytz-2020.4.tgz
NetBSD 9.0aarch64py39-pytz-2020.4.tgz
NetBSD 9.0alphapy27-pytz-2021.1.tgz
NetBSD 9.0alphapy36-pytz-2021.1.tgz
NetBSD 9.0alphapy37-pytz-2021.1.tgz
NetBSD 9.0alphapy38-pytz-2021.1.tgz
NetBSD 9.0alphapy39-pytz-2021.1.tgz
NetBSD 9.0alphapy27-pytz-2020.1.tgz
NetBSD 9.0alphapy36-pytz-2020.1.tgz
NetBSD 9.0alphapy37-pytz-2020.1.tgz
NetBSD 9.0alphapy38-pytz-2020.1.tgz
NetBSD 9.0alphapy27-pytz-2020.4.tgz
NetBSD 9.0alphapy36-pytz-2020.4.tgz
NetBSD 9.0alphapy37-pytz-2020.4.tgz
NetBSD 9.0alphapy38-pytz-2020.4.tgz
NetBSD 9.0alphapy39-pytz-2020.4.tgz
NetBSD 9.0earmpy27-pytz-2020.1.tgz
NetBSD 9.0earmpy36-pytz-2020.1.tgz
NetBSD 9.0earmpy37-pytz-2020.1.tgz
NetBSD 9.0earmpy38-pytz-2020.1.tgz
NetBSD 9.0earmpy27-pytz-2020.4.tgz
NetBSD 9.0earmpy36-pytz-2020.4.tgz
NetBSD 9.0earmpy37-pytz-2020.4.tgz
NetBSD 9.0earmpy38-pytz-2020.4.tgz
NetBSD 9.0earmpy39-pytz-2020.4.tgz
NetBSD 9.0earmpy27-pytz-2021.1.tgz
NetBSD 9.0earmpy36-pytz-2021.1.tgz
NetBSD 9.0earmpy37-pytz-2021.1.tgz
NetBSD 9.0earmpy38-pytz-2021.1.tgz
NetBSD 9.0earmpy39-pytz-2021.1.tgz
NetBSD 9.0earmv6hfpy27-pytz-2021.1.tgz
NetBSD 9.0earmv6hfpy36-pytz-2021.1.tgz
NetBSD 9.0earmv6hfpy37-pytz-2021.1.tgz
NetBSD 9.0earmv6hfpy38-pytz-2021.1.tgz
NetBSD 9.0earmv6hfpy39-pytz-2021.1.tgz
NetBSD 9.0earmv6hfpy27-pytz-2020.1.tgz
NetBSD 9.0earmv6hfpy36-pytz-2020.1.tgz
NetBSD 9.0earmv6hfpy37-pytz-2020.1.tgz
NetBSD 9.0earmv6hfpy38-pytz-2020.1.tgz
NetBSD 9.0earmv6hfpy27-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy36-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy37-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy38-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy39-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy27-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy36-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy37-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy38-pytz-2020.4.tgz
NetBSD 9.0earmv6hfpy39-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy27-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy36-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy37-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy38-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy39-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy27-pytz-2020.1.tgz
NetBSD 9.0earmv7hfpy36-pytz-2020.1.tgz
NetBSD 9.0earmv7hfpy37-pytz-2020.1.tgz
NetBSD 9.0earmv7hfpy38-pytz-2020.1.tgz
NetBSD 9.0earmv7hfpy27-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy36-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy37-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy38-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy39-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy27-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy36-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy37-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy38-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy39-pytz-2020.4.tgz
NetBSD 9.0earmv7hfpy27-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy36-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy37-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy38-pytz-2021.1.tgz
NetBSD 9.0earmv7hfpy39-pytz-2021.1.tgz
NetBSD 9.0i386py27-pytz-2020.1.tgz
NetBSD 9.0i386py36-pytz-2020.1.tgz
NetBSD 9.0i386py37-pytz-2020.1.tgz
NetBSD 9.0i386py38-pytz-2020.1.tgz
NetBSD 9.0i386py27-pytz-2020.4.tgz
NetBSD 9.0i386py36-pytz-2020.4.tgz
NetBSD 9.0i386py37-pytz-2020.4.tgz
NetBSD 9.0i386py38-pytz-2020.4.tgz
NetBSD 9.0i386py39-pytz-2020.4.tgz
NetBSD 9.0i386py27-pytz-2021.1.tgz
NetBSD 9.0i386py36-pytz-2021.1.tgz
NetBSD 9.0i386py37-pytz-2021.1.tgz
NetBSD 9.0i386py38-pytz-2021.1.tgz
NetBSD 9.0i386py39-pytz-2021.1.tgz
NetBSD 9.0m68kpy27-pytz-2021.1.tgz
NetBSD 9.0m68kpy36-pytz-2021.1.tgz
NetBSD 9.0m68kpy37-pytz-2021.1.tgz
NetBSD 9.0m68kpy38-pytz-2021.1.tgz
NetBSD 9.0m68kpy39-pytz-2021.1.tgz
NetBSD 9.0m68kpy27-pytz-2020.1.tgz
NetBSD 9.0m68kpy36-pytz-2020.1.tgz
NetBSD 9.0m68kpy37-pytz-2020.1.tgz
NetBSD 9.0m68kpy27-pytz-2020.4.tgz
NetBSD 9.0m68kpy36-pytz-2020.4.tgz
NetBSD 9.0m68kpy37-pytz-2020.4.tgz
NetBSD 9.0m68kpy38-pytz-2020.4.tgz
NetBSD 9.0mips64ebpy27-pytz-2021.1.tgz
NetBSD 9.0mips64ebpy36-pytz-2021.1.tgz
NetBSD 9.0mips64ebpy37-pytz-2021.1.tgz
NetBSD 9.0mips64ebpy38-pytz-2021.1.tgz
NetBSD 9.0mips64ebpy39-pytz-2021.1.tgz
NetBSD 9.0mips64ebpy27-pytz-2020.1.tgz
NetBSD 9.0mips64ebpy36-pytz-2020.1.tgz
NetBSD 9.0mips64ebpy37-pytz-2020.1.tgz
NetBSD 9.0mips64ebpy38-pytz-2020.1.tgz
NetBSD 9.0mips64ebpy27-pytz-2020.4.tgz
NetBSD 9.0mips64ebpy36-pytz-2020.4.tgz
NetBSD 9.0mips64ebpy37-pytz-2020.4.tgz
NetBSD 9.0mips64ebpy38-pytz-2020.4.tgz
NetBSD 9.0mips64ebpy39-pytz-2020.4.tgz
NetBSD 9.0mipselpy27-pytz-2020.4.tgz
NetBSD 9.0mipselpy36-pytz-2020.4.tgz
NetBSD 9.0mipselpy37-pytz-2020.4.tgz
NetBSD 9.0mipselpy38-pytz-2020.4.tgz
NetBSD 9.0mipselpy39-pytz-2020.4.tgz
NetBSD 9.0mipselpy27-pytz-2021.1.tgz
NetBSD 9.0mipselpy36-pytz-2021.1.tgz
NetBSD 9.0mipselpy37-pytz-2021.1.tgz
NetBSD 9.0mipselpy38-pytz-2021.1.tgz
NetBSD 9.0mipselpy39-pytz-2021.1.tgz
NetBSD 9.0powerpcpy27-pytz-2020.4.tgz
NetBSD 9.0powerpcpy36-pytz-2020.4.tgz
NetBSD 9.0powerpcpy37-pytz-2020.4.tgz
NetBSD 9.0powerpcpy38-pytz-2020.4.tgz
NetBSD 9.0powerpcpy39-pytz-2020.4.tgz
NetBSD 9.0powerpcpy27-pytz-2020.1.tgz
NetBSD 9.0powerpcpy36-pytz-2020.1.tgz
NetBSD 9.0powerpcpy37-pytz-2020.1.tgz
NetBSD 9.0powerpcpy38-pytz-2020.1.tgz
NetBSD 9.0powerpcpy27-pytz-2021.1.tgz
NetBSD 9.0powerpcpy36-pytz-2021.1.tgz
NetBSD 9.0powerpcpy37-pytz-2021.1.tgz
NetBSD 9.0powerpcpy38-pytz-2021.1.tgz
NetBSD 9.0powerpcpy39-pytz-2021.1.tgz
NetBSD 9.0powerpcpy27-pytz-2021.1.tgz
NetBSD 9.0powerpcpy36-pytz-2021.1.tgz
NetBSD 9.0powerpcpy37-pytz-2021.1.tgz
NetBSD 9.0powerpcpy38-pytz-2021.1.tgz
NetBSD 9.0powerpcpy39-pytz-2021.1.tgz
NetBSD 9.0sh3elpy27-pytz-2020.1.tgz
NetBSD 9.0sh3elpy36-pytz-2020.1.tgz
NetBSD 9.0sh3elpy37-pytz-2020.1.tgz
NetBSD 9.0sh3elpy38-pytz-2020.1.tgz
NetBSD 9.0sh3elpy27-pytz-2020.4.tgz
NetBSD 9.0sh3elpy36-pytz-2020.4.tgz
NetBSD 9.0sh3elpy37-pytz-2020.4.tgz
NetBSD 9.0sh3elpy38-pytz-2020.4.tgz
NetBSD 9.0sh3elpy39-pytz-2020.4.tgz
NetBSD 9.0sh3elpy27-pytz-2021.1.tgz
NetBSD 9.0sh3elpy36-pytz-2021.1.tgz
NetBSD 9.0sh3elpy37-pytz-2021.1.tgz
NetBSD 9.0sh3elpy38-pytz-2021.1.tgz
NetBSD 9.0sh3elpy39-pytz-2021.1.tgz
NetBSD 9.0sparc64py27-pytz-2021.1.tgz
NetBSD 9.0sparc64py36-pytz-2021.1.tgz
NetBSD 9.0sparc64py37-pytz-2021.1.tgz
NetBSD 9.0sparc64py38-pytz-2021.1.tgz
NetBSD 9.0sparc64py39-pytz-2021.1.tgz
NetBSD 9.0sparc64py27-pytz-2020.1.tgz
NetBSD 9.0sparc64py36-pytz-2020.1.tgz
NetBSD 9.0sparc64py37-pytz-2020.1.tgz
NetBSD 9.0sparc64py38-pytz-2020.1.tgz
NetBSD 9.0sparc64py27-pytz-2020.1.tgz
NetBSD 9.0sparc64py36-pytz-2020.1.tgz
NetBSD 9.0sparc64py37-pytz-2020.1.tgz
NetBSD 9.0sparc64py38-pytz-2020.1.tgz
NetBSD 9.0sparc64py27-pytz-2020.4.tgz
NetBSD 9.0sparc64py36-pytz-2020.4.tgz
NetBSD 9.0sparc64py37-pytz-2020.4.tgz
NetBSD 9.0sparc64py38-pytz-2020.4.tgz
NetBSD 9.0sparc64py39-pytz-2020.4.tgz
NetBSD 9.0sparcpy27-pytz-2021.1.tgz
NetBSD 9.0sparcpy36-pytz-2021.1.tgz
NetBSD 9.0sparcpy37-pytz-2021.1.tgz
NetBSD 9.0sparcpy38-pytz-2021.1.tgz
NetBSD 9.0sparcpy39-pytz-2021.1.tgz
NetBSD 9.0sparcpy27-pytz-2020.1.tgz
NetBSD 9.0sparcpy36-pytz-2020.1.tgz
NetBSD 9.0sparcpy37-pytz-2020.1.tgz
NetBSD 9.0sparcpy38-pytz-2020.1.tgz
NetBSD 9.0sparcpy27-pytz-2020.4.tgz
NetBSD 9.0sparcpy36-pytz-2020.4.tgz
NetBSD 9.0sparcpy37-pytz-2020.4.tgz
NetBSD 9.0sparcpy38-pytz-2020.4.tgz
NetBSD 9.0sparcpy39-pytz-2020.4.tgz
NetBSD 9.0x86_64py27-pytz-2020.4.tgz
NetBSD 9.0x86_64py36-pytz-2020.4.tgz
NetBSD 9.0x86_64py37-pytz-2020.4.tgz
NetBSD 9.0x86_64py38-pytz-2020.4.tgz
NetBSD 9.0x86_64py39-pytz-2020.4.tgz
NetBSD 9.0x86_64py27-pytz-2020.4.tgz
NetBSD 9.0x86_64py36-pytz-2020.4.tgz
NetBSD 9.0x86_64py37-pytz-2020.4.tgz
NetBSD 9.0x86_64py38-pytz-2020.4.tgz
NetBSD 9.0x86_64py39-pytz-2020.4.tgz
NetBSD 9.0x86_64py27-pytz-2021.1.tgz
NetBSD 9.0x86_64py36-pytz-2021.1.tgz
NetBSD 9.0x86_64py37-pytz-2021.1.tgz
NetBSD 9.0x86_64py38-pytz-2021.1.tgz
NetBSD 9.0x86_64py39-pytz-2021.1.tgz
NetBSD 9.0x86_64py27-pytz-2021.1.tgz
NetBSD 9.0x86_64py36-pytz-2021.1.tgz
NetBSD 9.0x86_64py37-pytz-2021.1.tgz
NetBSD 9.0x86_64py38-pytz-2021.1.tgz
NetBSD 9.0x86_64py39-pytz-2021.1.tgz
NetBSD 9.0x86_64py27-pytz-2020.1.tgz
NetBSD 9.0x86_64py36-pytz-2020.1.tgz
NetBSD 9.0x86_64py37-pytz-2020.1.tgz
NetBSD 9.0x86_64py38-pytz-2020.1.tgz
NetBSD 9.0x86_64py27-pytz-2020.4.tgz
NetBSD 9.0x86_64py36-pytz-2020.4.tgz
NetBSD 9.0x86_64py37-pytz-2020.4.tgz
NetBSD 9.0x86_64py38-pytz-2020.4.tgz
NetBSD 9.0x86_64py39-pytz-2020.4.tgz
NetBSD 9.0x86_64py27-pytz-2021.1.tgz
NetBSD 9.0x86_64py36-pytz-2021.1.tgz
NetBSD 9.0x86_64py37-pytz-2021.1.tgz
NetBSD 9.0x86_64py38-pytz-2021.1.tgz
NetBSD 9.0x86_64py39-pytz-2021.1.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.