Stubgen Installation On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

Stubgen Installation On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

stubgen

optional static typing for Python

Maintainer: Debian Med Packaging Team



Section: python

Install stubgen

  • 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 python3-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.

To install the latest version of stubgen in your favorite operating system just copy the stubgen installation command from above and paste it into terminal. It will download and install the latest version of stubgen 2026 package in your OS.