The typeapi
package provides a unified and consistent API for the reflection and introspection of
Python type hints. In addition, it allows evaluating future annotations such as
PEP585 (such as list[str]
) and
PEP604 (such as int | str
) in versions that don't
natively support them.
Requirements:
- Python 3.8 or newer
Please file bug reports and feature requests on GitHub.