typeguard
Run-time type checker for Python
Install
typeguard on PyPI
pip
pip install typeguarduv
uv add typeguardpoetry
poetry add typeguardPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing_extensions |
| Maintenance | actively maintained — 18 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: typeguard-4.6.0-py3-none-any.whl
About typeguard
from the package's own PyPI description — quoted content, verbatim
.. image:: https://github.com/agronholm/typeguard/actions/workflows/test.yml/badge.svg :target: https://github.com/agronholm/typeguard/actions/workflows/test.yml :alt: Build Status .. image:: https://coveralls.io/repos/agronholm/typeguard/badge.svg?branch=master&service=github :target: https://coveralls.io/github/agronholm/typeguard?branch=master :alt: Code Coverage .. image:: https://readthedocs.org/projects/typeguard/badge/?version=latest :target: https://typeguard.readthedocs.io/en/latest/?badge=latest :alt: Documentation .. image:: https://tidelift.com/badges/package/pypi/typeguard :target: https://tidelift.com/subscription/pkg/pypi-typeguard :alt: Tidelift
This library provides run-time type checking for functions defined with
PEP 484 <https://www.python.org/dev/peps/pep-0484/>_ argument (and return) type
annotations, and any arbitrary objects. It can be used together with static type
checkers as an additional layer of type safety, to catch type violations that could only
be detected at run time.
Three principal ways to do type checking are provided, each with its pros and cons:
. The check_type function:
- like
isinstance(), but supports...
Similar packages
permissive · top 1,000 on PyPI
anyiopermissive · top 100 on PyPI
cbor2permissive · top 1,000 on PyPI
APSchedulerpermissive · top 1,000 on PyPI
jupyter-corepermissive · top 1,000 on PyPI
mccabepermissive · top 1,000 on PyPI
debugpypermissive · top 1,000 on PyPI
py4jpermissive · top 1,000 on PyPI
jaraco.classespermissive · top 1,000 on PyPI
jaraco.functoolspermissive · top 1,000 on PyPI