Commonly Compared
Review of mypy powered by the Slant community.
Mypy is an experimental optional static type checker for Python that aims to combine the benefits of dynamic (or "duck") typing and static typing. Mypy combines the expressive power and convenience of Python with a powerful type system and compile-time type checking.
SpecsUpdate
Initial ReleaseOctober 28, 2012
Python Versions Supported3.6+
Latest Release DateJune 6, 2022
Analysis TypeHybrid
Ranked in these QuestionsQuestion Ranking
Pros
Pro Powerful type checker
Mypy's type checker checks the types of function parameters, supports type inference, typed collections and has even some support for generics.
Pro Works in a truly static way
Mypy works in a truly static way. The checker makes all the checks before the code is actually run, but it still catches a lot of bugs.
Cons
Con Still an experimental project
Mypy is still an unfinished experimental project. It is prone to bugs and to features being changed and removed. Plus, a large part of Python features is yet to be implemented.
Commonly Compared
