pkg.soopen package index

brew / rank 1371

Install mypy with Homebrew, apt, Nix, pacman, zypper

Experimental optional static type checker for Python. Version 2.3.0 via Homebrew; verified 2026-07-14. Also installable with debian: sudo apt install mypy.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mypy

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install mypy

Debian stable package indexes · mypy · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#mypy

nixpkgs package indexes · mypy · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S mypy

Arch Linux sync databases · mypy · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install python313-mypy

openSUSE Tumbleweed package metadata · python313-mypy · source: download.opensuse.org

overview

Package summary

Experimental optional static type checker for Python

Commands and aliases

  • dmypy
  • mypy
  • mypyc
  • stubgen
  • stubtest

history

Project history and usage

mypy is an optional static type checker for Python. Jukka Lehtosalo began work on it in 2012 while at the University of Cambridge Computer Laboratory as a PhD student, borrowing ideas from his earlier Alore language and from gradual typing research. The project grew from an experiment in adding an optional static type system to Python-like code into the best-known standalone checker for ordinary Python programs.

Project history

The technical turning point was the standardization of Python type hints. PEP 484 defines the syntax and goals for type annotations in Python, explicitly naming offline type checkers such as mypy as a primary use case while keeping Python dynamically typed and type hints optional. The mypy blog described the first PEP 484 draft as heavily inspired by mypy, and later mypy versions implemented the PEP 484 annotation model used in Python codebases, editors, and CI systems.

How it is used

Dropbox became a major adoption story and development home for mypy. A Dropbox engineering writeup describes its gradual migration to static checking across millions of lines of Python, calling mypy likely the most popular standalone Python type checker and noting that the core team was employed by Dropbox. In day-to-day use, developers add annotations in source files or stubs, run the `mypy` command to find type errors without executing the program, use `dmypy` for daemonized checks, and use helpers such as `stubgen`, `stubtest`, and `mypyc` for typing ecosystem work. Package managers ship it as a developer tool for Python projects that want static analysis without changing Python's runtime model.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for mypy. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
mypy.ini.mypy.inipyproject.tomlsetup.cfg$XDG_CONFIG_HOME/mypy/config~/.config/mypy/config~/.mypy.ini

executables

Installed executables

CommandKindExposureNote
dmypyexecutableindexed executableDiscovered from the local executable index.
mypyexecutableindexed executableDiscovered from the local executable index.
mypycexecutableindexed executableDiscovered from the local executable index.
stubgenexecutableindexed executableDiscovered from the local executable index.
stubtestexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2.3.0
manager updated2026-07-14
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mypy
Version2.3.0
Package managerHomebrew
Homepagehttps://www.mypy-lang.org/
Repositoryhttps://github.com/python/mypy
Last updated2026-07-14T12:42:18Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

mypy 1.15.0-5

optional static typing for Python

https://www.mypy-lang.org/

sudo apt install mypy
  • Section: python
  • Architecture: all
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mypy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mypy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mypy-doc 1.15.0-5

documentation for mypy

https://www.mypy-lang.org/

sudo apt install mypy-doc
  • Section: doc
  • Architecture: all
  • Source Package: mypy
  • 1 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Mypy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mypy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-mypy 1.15.0-5

public modules for mypy (Python 3)

https://www.mypy-lang.org/

sudo apt install python3-mypy
  • Section: python
  • Architecture: amd64
  • Source Package: mypy
  • 7 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Mypy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-mypy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mypy

nix profile install nixpkgs#mypy
  • normalized package name match
  • Matched by: Mypy
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: mypy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

mypy 1.9.0-4ubuntu1

optional static typing for Python

https://www.mypy-lang.org/

sudo apt install mypy
  • Section: universe/python
  • Architecture: all
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mypy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mypy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mypy-doc 1.9.0-4ubuntu1

documentation for mypy

https://www.mypy-lang.org/

sudo apt install mypy-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: mypy
  • 1 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Mypy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mypy-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-mypy 1.9.0-4ubuntu1

public modules for mypy (Python 3)

https://www.mypy-lang.org/

sudo apt install python3-mypy
  • Section: universe/python
  • Architecture: amd64
  • Source Package: mypy
  • 8 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mypy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-mypy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

mypy 2.1.0-2

Optional static typing for Python (PEP484)

http://www.mypy-lang.org/

sudo pacman -S mypy
  • License: MIT
  • Architecture: any
  • 7 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Mypy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mypy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

python313-mypy 2.2.0-2.1

Optional static typing for Python

https://www.mypy-lang.org/

sudo zypper install python313-mypy
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-mypy
  • 10 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Mypy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-mypy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation