stubgen

optional static typing for Python

Install

All systems
curl cmd.cat/stubgen.sh
Debian Debian
apt-get install mypy
Ubuntu
apt-get install mypy
Arch Arch Linux
pacman -S mypy
image/svg+xml Kali Linux
apt-get install mypy
Fedora
dnf install python3-mypy
Windows (WSL2)
sudo apt-get update sudo apt-get install mypy
OS X
brew install mypy
Raspbian
apt-get install mypy

mypy

optional static typing for Python

Add type annotations to your Python programs, and use mypy to type check them. Mypy is essentially a Python linter on steroids, and it can catch many programming errors by analyzing your program, without actually having to run it. Mypy has a powerful type system with features such as type inference, gradual typing, generics and union types. This package provides the command-line interface.

python3-mypy

public modules for mypy (Python 3)

Add type annotations to your Python programs, and use mypy to type check them. Mypy is essentially a Python linter on steroids, and it can catch many programming errors by analyzing your program, without actually having to run it. Mypy has a powerful type system with features such as type inference, gradual typing, generics and union types. This package provides the modules for Python 3.