awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Python 静态类型检查器

排名更新于 2026年6月30日

For 用于 Python 代码库的静态类型检查器, the strongest matches are python/mypy (mypy is the standard static type checker for Python), google/pytype (Pytype is a full-featured static type checker for Python) and microsoft/pyright (Pyright is a dedicated static type checker for Python). astral-sh/ty and facebook/pyre-check round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

用于识别类型错误并强制执行 Python 源代码类型提示的静态分析工具。

Python 静态类型检查器

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • python/mypypython 的头像

    python/mypy

    20,489在 GitHub 上查看↗

    mypy is a static type checker for Python that analyzes source code to detect type errors and inconsistencies without executing the program. It functions as a static analysis tool and type inference engine, providing a gradual typing system that allows type hints to be added to a codebase incrementally while maintaining compatibility with dynamic typing. The project distinguishes itself through a combination of performance and precision features. It utilizes a daemon-based incremental checking system and multi-process parallel analysis to manage large codebases, supported by binary cache persi

    mypy is the standard static type checker for Python, offering type inference, gradual typing, stub support, editor integration, and file-based configuration, which directly matches the need for static type analysis without execution.

    PythonGradual Typing FrameworksGradual Typing SystemsAutomatic Type Deduction
    在 GitHub 上查看↗20,489
  • google/pytypegoogle 的头像

    google/pytype

    5,037在 GitHub 上查看↗

    Pytype is a static code analysis tool and type inference engine for Python. It functions as a static type analyzer that detects type mismatches and verifies type annotations without requiring full manual hinting, while also serving as a type stub generator for producing standalone definition files. The project distinguishes itself by automatically determining variable and function types through an analysis of code patterns and assignments. This inference engine allows for structural code verification and the generation of type stubs that describe the interfaces of modules and functions. The

    Pytype is a full-featured static type checker for Python that combines automatic type inference, gradual typing, stub file generation, configurable rules, and integration-friendly error reporting, covering every aspect the visitor is looking for.

    PythonType Inference SupportType Stub FilesType Stub Generators
    在 GitHub 上查看↗5,037
  • microsoft/pyrightmicrosoft 的头像

    microsoft/pyright

    15,241在 GitHub 上查看↗

    Pyright is a static type checker for Python designed to validate type hints and identify potential errors within large codebases. It functions as a command-line utility that integrates into local development environments and continuous integration pipelines to ensure code quality and consistency. The tool distinguishes itself through a high-performance analysis engine that utilizes incremental dependency graph analysis and persistent state caching to re-evaluate only the affected portions of a project. By implementing the Language Server Protocol, it provides real-time feedback, including err

    Pyright is a dedicated static type checker for Python that uses fast incremental analysis, supports gradual typing and stub files, integrates with editors via the Language Server Protocol, and provides configurable error reporting—covering every feature this search asks for.

    PythonLanguage Server IntegrationsType Inference Engines
    在 GitHub 上查看↗15,241
  • astral-sh/tyastral-sh 的头像

    astral-sh/ty

    17,287在 GitHub 上查看↗

    This project is a high-performance static type checker and comprehensive development toolkit for Python. It functions as a core analysis engine that identifies type inconsistencies and enforces code correctness, while simultaneously providing a language server implementation to deliver real-time diagnostics and intelligence directly within development environments. The tool distinguishes itself through a parallelized execution engine that maximizes performance across large-scale codebases and monorepo structures. It supports gradual type adoption, allowing developers to integrate type checkin

    This is a high-performance static type checker for Python that also provides a language server for editor integration, supports gradual typing and file-based configuration, and delivers detailed error reports — matching all the key features you need for static analysis without running code.

    PythonLanguage Servers
    在 GitHub 上查看↗17,287
  • facebook/pyre-checkfacebook 的头像

    facebook/pyre-check

    7,169在 GitHub 上查看↗

    Pyre is a high-performance static type checker and analysis tool for Python. It identifies type errors and ensures type safety without executing the program, utilizing a static type inference engine to maintain consistency across functions. The project is distinguished by an incremental type analysis engine that operates as a background daemon. This system monitors filesystem changes to re-validate only modified parts of a project, reducing the time required for repeated analysis. It also includes a static analysis security tool that uses taint analysis to track untrusted data flows and ident

    Pyre is a dedicated Python static type checker with an incremental type inference engine, stub file support, and editor integration, covering all the required features for catching type errors without running the code.

    OCamlIncremental Analysis DaemonsPython Type CheckersAbstract Syntax Tree Parsing
    在 GitHub 上查看↗7,169
  • facebook/pyreflyfacebook 的头像

    facebook/pyrefly

    5,390在 GitHub 上查看↗

    Pyrefly is a static type checker for Python that operates as a language server, delivering real-time diagnostics, completions, and navigation in any editor supporting the Language Server Protocol. It also performs static tensor shape analysis, using symbolic dimension variables and arithmetic to verify shape consistency in deep learning models without runtime execution. Beyond core type checking, Pyrefly supports gradual adoption workflows: it can generate a baseline of known errors so only new issues are reported, migrate configuration from other type checkers, and automatically suppress exi

    Pyrefly is a static type checker for Python that runs as a language server, providing real-time type diagnostics, inference, gradual typing, and editor integration via LSP—directly matching your need to catch type errors without execution.

    RustType Stub GeneratorsLanguage ServersGradual Typing Adoption
    在 GitHub 上查看↗5,390

Related searches

  • 高性能 Python 代码检查与格式化工具
  • 基于 Python 类型提示的数据验证库
  • 用于安全漏洞的静态分析工具
  • 代码检查、格式化与类型检查工具
  • Python 的类型安全 ORM
  • TypeScript 运行时类型验证库
  • 用于自动代码审查的 AI Bot
  • 用于源代码和注释的拼写检查工具