$npx skillfedfor your agent

typeapi

With conditionsPyPI Software DevelopmentReleased Oct 2025260.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — typeapi-2.3.0-py3-none-any.whl
v2.3.0 · released 2025-10-23 · Python >=3.8 · 1 runtime deps: typing-extensions

Yes, if you need to work with type hints at runtime or support older Python versions while using modern type syntax. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Install only if you actually need type introspection; it's a specialized tool, not a general utility.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or newer.
  • Low friction install with a single runtime dependency (typing-extensions).
  • Actively maintained with recent releases; last commit 2026-04-09 and latest release 2025-10-23 indicate ongoing development.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.

last release 2025-10-23 (295 days) · last repo commit 2026-04-09 · 8 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 260,683 downloads/mo, #8,394 on PyPI

Verify before relying

pip install typeapi

from typeapi import TypeHint

hint = TypeHint.from_string('list[str]')
print(hint)
  • Whether typeapi handles all edge cases in type hint evaluation or has known limitations with complex nested generics.
  • Performance characteristics when evaluating large numbers of type hints or deeply nested type structures.
  • Specific use cases where this unified API provides advantages over direct use of the typing module.
Same gist for agents: .md · .json

What it is and what it does

typeapi is a reflection library that standardizes how you inspect and work with Python type hints at runtime. It wraps the complexity of Python's typing module across different versions and provides a consistent interface for examining type annotations, whether they're simple types like `int`, generic types like `list[str]`, or union types like `int | str`. The package is particularly useful because it lets you use modern type syntax (PEP 585 and PEP 604) on Python versions that don't natively support them, bridging compatibility gaps.

The library depends only on typing-extensions and targets Python 3.8 and newer. It's actively maintained and carries no known security vulnerabilities. The MIT license places no restrictions on how you use it.

Use it for

  • Evaluate modern type hint syntax like `list[str]` and `int | str` on Python versions where native support is unavailable.
  • Build type-aware code generation or validation tools that need a consistent API across Python versions.
  • Implement runtime type checking or serialization frameworks that require deep introspection of type annotations.
  • Create documentation or IDE tooling that needs to analyze and display type information uniformly.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to work with type hints at runtime or support older Python versions while using modern type syntax.

The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Install only if you actually need type introspection; it's a specialized tool, not a general utility.

Install

typeapi on PyPI

Before you install

Low friction install with a single runtime dependency (typing-extensions). Actively maintained with recent releases; last commit 2026-04-09 and latest release 2025-10-23 indicate ongoing development.

Requires Python 3.8 or newer.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.

Quickstart

pip install typeapi

from typeapi import TypeHint

hint = TypeHint.from_string('list[str]')
print(hint)

Verify before relying

  • Whether typeapi handles all edge cases in type hint evaluation or has known limitations with complex nested generics.
  • Performance characteristics when evaluating large numbers of type hints or deeply nested type structures.
  • Specific use cases where this unified API provides advantages over direct use of the typing module.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing-extensions
MaintenanceActively maintained 295 days since the last release
Last repo commit
First released
Downloads260,683 / month, #8,394 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: typeapi-2.3.0-py3-none-any.whl

Tags

Capabilities
python type hint introspectiontype annotation reflection apipep 585 pep 604 supportruntime type hint evaluationtyping introspection librarytype hint compatibility layerpython type system reflection
Topics
type-hintsreflectioncompatibility

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python type hint introspection”

  • typeapiProvides a unified API for reflecting and introspecting Python type…
  • typishTypish provides runtime type checking and introspection functions for…
  • typing-validationRuntime validation of Python objects against type hints, with three…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also griffe-typingdoc · eval-type-backport · types-beautifulsoup4 · typing-inspection · typing-inspect · flake8-pep585 · types-grpcio-reflection · inspect2 · typish · pgi