How To Install Mypy?

How To Install Mypy?

mypy

optional static typing for Python

Maintainer: Debian Med Packaging Team



Section: python

Install mypy

  • Debian apt-get install mypy Click to copy
  • Ubuntu apt-get install mypy Click to copy
  • Arch Linux pacman -S mypy Click to copy
  • Kali Linux apt-get install mypy Click to copy
  • Fedora dnf install mypy Click to copy
  • Raspbian apt-get install mypy Click to copy
  • macOS brew install mypy Click to copy

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.

Install the latest version of mypy in Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the mypy just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of mypy from the respository and install it in your computer/server.