awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Type annotation systems

Ranking updated Jul 21, 2026

For type annotation systems, the first results are python/mypy (Mypy is the industry-standard static type checker for Python that provides gradual typing, robust type inference, and extensive IDE integration, making it the definitive tool for this category), astral-sh/ty (This project is a high-performance static type checker for Python that provides gradual typing support, IDE integration via a language server, and advanced type inference for large-scale codebases) and facebook/pyrefly (Pyrefly is a dedicated static type checker for Python that provides gradual typing support, IDE integration via LSP, and advanced type inference, making it a comprehensive tool for the requested category). facebook/flow and microsoft/pyright round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Explore the best type annotation systems for your project. Compare top-rated libraries by stars and activity to find the best fit for your codebase.

Type annotation systems

Find the best repos with AI.We'll search the best matching repositories with AI.
  • python/mypypython avatar

    python/mypy

    20,489View on 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 industry-standard static type checker for Python that provides gradual typing, robust type inference, and extensive IDE integration, making it the definitive tool for this category.

    PythonAutomatic Type DeductionGradual Typing AdoptionGradual Typing Frameworks
    View on GitHub↗20,489
  • astral-sh/tyastral-sh avatar

    astral-sh/ty

    17,287View on 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 project is a high-performance static type checker for Python that provides gradual typing support, IDE integration via a language server, and advanced type inference for large-scale codebases.

    PythonLanguage Server ProtocolsLanguage Servers
    View on GitHub↗17,287
  • facebook/pyreflyfacebook avatar

    facebook/pyrefly

    7,188View on 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 dedicated static type checker for Python that provides gradual typing support, IDE integration via LSP, and advanced type inference, making it a comprehensive tool for the requested category.

    RustGradual Typing AdoptionLanguage Server ProtocolsLanguage Servers
    View on GitHub↗7,188
  • facebook/flowfacebook avatar

    facebook/flow

    22,232View on GitHub↗

    Flow is a JavaScript static type checker and AST parser that identifies type errors and prevents runtime failures through static annotations. It functions as a code intelligence engine and a static analysis linter to identify unsafe coding patterns and enforce consistency across a codebase. The project includes a type annotation stripper that removes static type signatures from source code, ensuring the resulting JavaScript is compatible with any runtime environment. It also provides a parser that converts typed JavaScript into an abstract syntax tree conforming to the ESTree specification.

    Flow is a dedicated static type checker for JavaScript that provides gradual typing, robust type inference, and deep IDE integration, making it a flagship tool for adding type safety to dynamic codebases.

    RustType Definitions
    View on GitHub↗22,232
  • microsoft/pyrightmicrosoft avatar

    microsoft/pyright

    15,733View on 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 high-performance static type checker for Python that provides gradual typing support, robust type inference, and seamless IDE integration via the Language Server Protocol.

    PythonLanguage Server Integrations
    View on GitHub↗15,733
  • phan/phanphan avatar

    phan/phan

    5,623View on GitHub↗

    Phan is a static analyzer and type checker for PHP that identifies bugs and type incompatibilities without executing the code. It serves as a quality gate for continuous integration pipelines and a tool for verifying type safety, specifically checking union types, generics, and array shapes. The project is distinguished by its use of a background daemon and Language Server Protocol implementation, which provide real-time diagnostics and navigation within editors. It also features a baseline-based suppression system that allows developers to record existing errors in a snapshot file to focus e

    Phan is a comprehensive static type checker for PHP that provides gradual typing, advanced type inference, and IDE integration via the Language Server Protocol, making it a flagship tool for enforcing type safety in dynamic codebases.

    PHPLanguage Server Protocols
    View on GitHub↗5,623
  • microsoft/typescriptmicrosoft avatar

    microsoft/TypeScript

    111,860View on GitHub↗

    TypeScript is a language that extends standard syntax by adding a static type system. It identifies potential runtime errors by analyzing the behaviors and capabilities of values during the compilation process. The language supports object-oriented structures, including classes with inheritance and member visibility control, as well as flexible function definitions that utilize generics, overloads, and parameter destructuring. The project provides a compiler that manages the build lifecycle through a command-line interface, offering configurable options for module resolution, code generation,

    TypeScript is a comprehensive static type system for JavaScript that provides gradual typing, robust IDE integration, and advanced type inference, making it the industry-standard implementation of this category.

    GoDeclaration Files
    View on GitHub↗111,860
  • vuejs/language-toolsvuejs avatar

    vuejs/language-tools

    6,746View on GitHub↗

    This project is a suite of specialized tools for the implementation of a language server, template parsing, and static type validation of single-file components. It provides a language server and a type checker to deliver consistent intelligence and validation for Vue components across different editors and command-line environments. The tooling utilizes a template parser to transform single-file component structures into virtual code, enabling static analysis and type checking on HTML-like structures. This process allows for the extraction of component metadata regarding props, events, and s

    This project provides a specialized static type checker and language server specifically for Vue single-file components, offering template type inference and IDE integration to bring gradual typing to the Vue ecosystem.

    TypeScriptLanguage Server ProtocolsLanguage Servers
    View on GitHub↗6,746
  • sorbet/sorbetsorbet avatar

    sorbet/sorbet

    3,790View on GitHub↗

    Sorbet is a static analysis tool and type checker designed for Ruby codebases. It identifies type inconsistencies, potential bugs, and logic errors by examining source code without execution, helping to improve software reliability and maintainability in large-scale projects. The system employs a constraint-based type inference engine that evaluates expressions against defined annotations to validate data structures. To support rapid development, it utilizes incremental analysis and caching to provide feedback by processing only modified files and their dependencies. Beyond static analysis,

    Sorbet is a comprehensive static type checker for Ruby that provides gradual typing, robust type inference, and IDE integration, making it a flagship tool for adding type safety to dynamic codebases.

    RubyRuby Type CheckersStatic Analysis EnginesConstraint-Based Inference
    View on GitHub↗3,790
  • google/pytypegoogle avatar

    google/pytype

    5,037View on 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 dedicated static type checker for Python that provides robust type inference and verification, making it a comprehensive tool for adding gradual typing to the language.

    PythonAutomatic Type InferencesType AnnotationsArgument Type Mismatch Detectors
    View on GitHub↗5,037
  • facebook/pyre-checkfacebook avatar

    facebook/pyre-check

    7,169View on 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 high-performance static type checker for Python that provides gradual typing, type inference, and IDE-integrated incremental analysis, making it a comprehensive solution for adding type safety to dynamic codebases.

    OCamlIncremental Analysis DaemonsPython Type CheckersAbstract Syntax Tree Parsing
    View on GitHub↗7,169
  • rescript-lang/rescriptrescript-lang avatar

    rescript-lang/rescript

    7,480View on GitHub↗

    ReScript is a statically typed programming language and compiler designed to transform type-safe source code into efficient, human-readable JavaScript. It functions as a transpiler that enforces data consistency and prevents runtime errors through static type analysis for both web and server applications. The project distinguishes itself as an incremental build system that analyzes dependency graphs to recompile only modified files and their dependents. It includes a JSX compatible compiler for building user interfaces and provides a framework for bridging type-safe code with existing JavaScr

    ReScript is a statically typed language that compiles to JavaScript, providing a robust type system and compiler that enforces data consistency and type safety for web and server applications.

    OCamlLanguage Servers
    View on GitHub↗7,480
  • luals/lua-language-serverLuaLS avatar

    LuaLS/lua-language-server

    4,298View on GitHub↗

    lua-language-server is a static analysis tool and type checker for the Lua language that implements the Language Server Protocol. It provides a system for detecting type mismatches, unused code, and logic errors in source files. The project features an inference-based type system that deduces variable types and supports optional annotations and meta files to enforce type safety. It allows for the definition of custom types and function signatures, including support for overloads and member visibility controls. The server provides a broad set of IDE capabilities, including real-time code auto

    This tool provides static analysis and type checking for Lua, supporting optional annotations and inference to enforce type safety within an IDE environment.

    LuaLua IDE IntegrationsCode CompletionCode Symbol Navigators
    View on GitHub↗4,298
  • google/closure-compilergoogle avatar

    google/closure-compiler

    7,702View on GitHub↗

    This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a compilation pipeline designed to shrink file sizes and improve runtime performance. The system utilizes a multi-pass compilation process to perform dead code elimination, global name mangling, and static type inference. It identifies unreachable functions and unused variables to reduce the final output size and detects potential runtime errors without executing the code. The tool manages assets through dependency resolution, code chunking, and bundle management. It ensures co

    This tool performs static type inference and error detection for JavaScript, serving as a robust, albeit legacy-focused, type-checking system that integrates directly into the compilation pipeline.

    JavaScriptJavaScript Optimizers and MinifiersJavaScript TranspilersAbstract Syntax Tree Transformers
    View on GitHub↗7,702
  • dry-rb/dry-typesdry-rb avatar

    dry-rb/dry-types

    899View on GitHub↗

    This library provides a type system for Ruby applications, offering a framework for defining, validating, and coercing data structures. It serves as a foundation for maintaining data integrity by ensuring that input values conform to established schemas and constraints before they are processed by application logic. The system distinguishes itself through a functional approach to data transformation and validation. It utilizes an immutable registry for type definitions and employs algebraic operators to compose complex, nested schemas from smaller, reusable components. By wrapping validation

    This library provides a robust system for defining custom types, constraints, and coercions in Ruby, serving as a foundational tool for implementing gradual typing and runtime validation in your applications.

    RubyCustom Type Definitions
    View on GitHub↗899
  • orsinium-labs/infer-typesorsinium-labs avatar

    orsinium-labs/infer-types

    101View on GitHub↗

    A CLI tool to automatically add type annotations into Python code.

    This tool automates the addition of type annotations to Python code, serving as a practical utility for introducing gradual typing to existing codebases.

    PythonAnnotation Tools
    View on GitHub↗101
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
python/mypy20.5KPythonNOASSERTIONJun 22, 2026
astral-sh/ty17.3KPythonmitFeb 19, 2026
facebook/pyrefly
7.2K
Rust
MIT
Nov 7, 2026
facebook/flow22.2KRustMITJun 16, 2026
microsoft/pyright15.7KPythonNOASSERTIONNov 7, 2026
phan/phan5.6KPHPNOASSERTIONNov 7, 2026
microsoft/typescript111.9KGoApache-2.0Nov 7, 2026
vuejs/language-tools6.7KTypeScriptMITNov 1, 2026
sorbet/sorbet3.8KRubyApache-2.0Jun 17, 2026
google/pytype5KPythonNOASSERTIONMar 16, 2026

Related searches

  • Code annotation tool
  • CSS styling system
  • Type inference utilities
  • Object animation engine
  • Data structure library
  • Design system
  • Type constraints
  • a tool for data labeling and annotation