Typeshed पायथन स्टैंडर्ड लाइब्रेरी और थर्ड-पार्टी पैकेजेस के लिए स्टेटिक टाइप डेफिनिशन और स्टब्स का एक संग्रह है। यह स्टेटिक एनालाइजर्स और इंटीग्रेटेड डेवलपमेंट एनवायरनमेंट के लिए कोड की शुद्धता को मान्य करने और लाइब्रेरीज़ के मूल सोर्स कोड को संशोधित किए बिना टाइप-आधारित कोड पूर्णता प्रदान करने के लिए एक मानकीकृत संसाधन के रूप में कार्य करता है।
The main features of python/typeshed are: Type Stub Files, Static Type Definitions, Type Accuracy Validation, Stub Version Mapping, Stub Versioning, Python Library Stubbing, External Library Definitions, Static Type Validation.
Open-source alternatives to python/typeshed include: google/pytype — Pytype is a static code analysis tool and type inference engine for Python. It functions as a static type analyzer… python/mypy — mypy is a static type checker for Python that analyzes source code to detect type errors and inconsistencies without… flow-typed/flow-typed — flow-typed is a collection of curated type definitions for external JavaScript libraries and a manager for installing… facebook/pyrefly — Pyrefly is a static type checker for Python that operates as a language server, delivering real-time diagnostics,… astral-sh/ty — This project is a high-performance static type checker and comprehensive development toolkit for Python. It functions… instagram/monkeytype — MonkeyType is a runtime type inferencer and analysis tool for Python. It collects actual argument and return types…
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
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
flow-typed is a collection of curated type definitions for external JavaScript libraries and a manager for installing these definitions into Flow projects. It serves as a centralized repository of type declarations that enable static type checking and autocomplete for third-party dependencies that do not ship with their own types. The project provides a command line interface to fetch, inject, and update specific type definitions within a local project directory. This process ensures that external library imports are resolved by the Flow type checker through version-matched type mapping.
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