--- id: types-pytz version: "2026.3.1.20260727" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-pytz — Typing stubs for pytz License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install types-pytz uv add types-pytz poetry add types-pytz ## Description ## Typing stubs for pytz This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) for the [`pytz`](https://github.com/stub42/pytz) package. It can be used by type checkers to check code that uses `pytz`. This version of `types-pytz` aims to provide accurate annotations for `pytz==2026.3.post1`. This package is part of the [typeshed project](https://github.com/python/typeshed). All fixes for types and metadata should be contributed there. See [the README](https://github.com/python/typeshed/blob/main/README.md) for more details. The source for this package can be found in the [`stubs/pytz`](https://github.com/python/typeshed/tree/main/stubs/pytz) directory. This package was tested with the following type checkers: * [mypy](https://github.com/python/mypy/) 2.3.0 * [pyright](https://github.com/microsoft/pyright) 1.1.411 It was generated from typeshed commit [`41308b88d4dc51e8d165a8839c2f0f12bdf43173`](https://github.com/python/typeshed/commit/41308b88d4dc51e8d165a8839c2f0f12bdf43173). ## AI interpretation — verify before relying Provides type hints for the pytz timezone library, enabling static type checkers like mypy and pyright to validate code that uses pytz. Verdict: A lightweight, actively maintained type stub package with zero dependencies and permissive licensing. Recent release history and active repository make it a low-friction addition to type-checking workflows. [View on SkillFed](https://skillfed.io/packages/types-pytz) · [View on PyPI](https://pypi.org/project/types-pytz/)