18 open-source projects similar to jellezijlstra/autotyping, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Autotyping alternative.
!!! Note this project is no longer supported/maintained as of 2022 August 14th !!!
kk Tools to generate Python types based on TypedDict from a JSON schema
mypy-protobuf: Generate mypy stub files from protobuf specs
PyAnnotate: Auto-generate PEP-484 annotations
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
MonkeyType is a runtime type inferencer and analysis tool for Python. It collects actual argument and return types from function calls during program execution to automate the production of static type annotations and compatible stub files. The system converts captured execution traces into static type hints, which can be inserted directly into source code function definitions or used to generate external type stubs. This process allows for the addition of type safety to existing codebases by analyzing real-world data types rather than through manual auditing. The tool's capabilities cover r
PyAnnotate as a pytest plugin.
auto-optional: adds the Optional type-hint to arguments where the default value is None
A CLI tool to automatically add type annotations into Python code.
A CLI tool for painless integration of mypy with an existing Python project. When you run it for the first time, it will remember all type errors that you already have in the project (generate "baseline"). All consecutive runs will ignore these errors and report only ones that you introduced…
Typeforce is a CLI tool that enriches your Python environment with type annotations, empowering mypy.
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
RightTyper is a Python tool that generates types for your function arguments and return values. RightTyper lets your code run at nearly full speed with almost no memory overhead. As a result, you won't experience slow downs in your code or large memory consumption while using it, allowing you to…
Automatically add or remove # type: ignore commends to silence mypy. Inspired by pylint-silent