skillfed

types-typed-ast

Typing stubs for typed-ast

types-typed-ast v1.5.8.7 516.9K downloads/30d#6,231 on PyPI5,108
Permissive license Apache-2.0 license Active released

What it is and what it does

types-typed-ast is a PEP 561 type stub package that provides type annotations for the typed-ast library. It allows static type checkers like mypy, pyright, and pytype to understand and validate code that uses typed-ast for AST manipulation. The package contains no runtime code—it exists solely to inform type checkers about typed-ast's API surface.

The package is unmaintained and will not receive updates. It was last generated from typeshed and tested against mypy 1.4.1, pyright 1.1.316, and pytype 2023.6.16. If you use typed-ast in a project with type checking enabled, installing this package removes type-checking errors and improves IDE support; without it, type checkers will report unknown symbols.

Use it for:

  • Enable type checkers to validate code that uses typed-ast without reporting unknown-symbol errors.
  • Provide IDE autocomplete and inline documentation for typed-ast APIs in editors supporting PEP 561 stubs.
  • Support projects that depend on typed-ast for AST analysis while maintaining type safety.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type stubs for the typed-ast package, enabling static type checkers like mypy, pyright, and pytype to understand code using typed-ast.

Yes, if you actively use typed-ast in a project with type checking enabled—install it to silence type-checker warnings and improve IDE support. No, if starting a new project, since typed-ast is unmaintained. The package itself is stable but will not be updated for newer type-checker versions.

Install

types-typed-ast on PyPI

pip

pip install types-typed-ast

uv

uv add types-typed-ast

poetry

poetry add types-typed-ast

Installing types-typed-ast

Before you install

Low install friction with a pure-wheel distribution. Package is marked unmaintained and has not been updated since 2023-07-05, though the underlying typeshed repository remains active.

License in practice

Apache-2.0 permissive license allows free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.

Quickstart

pip install types-typed-ast

# Type checkers will now understand typed-ast imports without errors

This package is only useful if you are already using typed-ast in your project and running a PEP 561-compatible type checker.

Verify before relying

  • Whether typed-ast itself is still actively maintained or if alternatives are recommended for new projects.
  • Compatibility with type checkers released after the last tested versions (mypy 1.4.1, pyright 1.1.316, pytype 2023.6.16).
  • Whether this package provides complete type coverage for all typed-ast APIs.

Package facts

License Apache-2.0 license (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 1,136 days since the last release
Last repo commit
First released
Downloads 516,873/month — #6,231 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_typed_ast-1.5.8.7-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs typed-astmypy type hints astpyright typed-ast supportstatic type checking astpep 561 stubs
type-stubspep-561

More Software Development packages