types-pytz
Typing stubs for pytz
Install
types-pytz on PyPI
pip
pip install types-pytzuv
uv add types-pytzpoetry
poetry add types-pytzPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 17 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: types_pytz-2026.3.1.20260727-py3-none-any.whl
About types-pytz
from the package's own PyPI description — quoted content, verbatim
Typing stubs for pytz
This is a type stub package
for the 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.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/pytz
directory.
This package was tested with the following type checkers: * mypy 2.3.0 * pyright 1.1.411
It was generated from typeshed commit
41308b88d4dc51e8d165a8839c2f0f12bdf43173.
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides type hints for the pytz timezone library, enabling static type checkers like mypy and pyright to validate code that uses pytz.
Installs with no dependencies and maintains active release cadence; latest release 17 days ago with active repository status.
Licensed under Apache-2.0 (permissive), allowing use in proprietary and open-source projects with minimal restrictions.
Usage
pip install types-pytz
# Type checkers will now understand types when working with timezone code
Requires Python 3.10 or later; intended for use with type checkers (mypy 2.3.0, pyright 1.1.411), not runtime functionality.
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.
Needs verification
- Whether the underlying pytz package must be installed separately for this stub to function in type checking
- Compatibility with type checkers beyond mypy 2.3.0 and pyright 1.1.411
Similar packages
permissive · top 1,000 on PyPI
types-paramikopermissive · top 1,000 on PyPI
types-python-dateutilpermissive · top 1,000 on PyPI
types-cachetoolspermissive · top 1,000 on PyPI
types-tomlpermissive · top 1,000 on PyPI
types-requestspermissive · top 1,000 on PyPI
types-setuptoolspermissive · top 1,000 on PyPI
types-protobufpermissive · top 1,000 on PyPI
types-redispermissive · top 1,000 on PyPI
phonenumberspermissive · top 1,000 on PyPI