macOS
brew install mypylocal Homebrew formula metadata
brew
Experimental optional static type checker for Python. Version 2.1.0 via Homebrew; verified 2026-05-12.
install
brew install mypylocal Homebrew formula metadata
sudo apt install mypyDebian stable package indexes · mypy · source: deb.debian.org
nix profile install nixpkgs#mypynixpkgs package indexes · mypy · source: raw.githubusercontent.com
sudo pacman -S mypyArch Linux sync databases · mypy · source: geo.mirror.pkgbuild.com
sudo zypper install python313-mypyopenSUSE Tumbleweed package metadata · python313-mypy · source: download.opensuse.org
overview
Experimental optional static type checker for Python
history
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.
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.
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 matching local secret-handling manifest was found for mypy. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
mypy.ini.mypy.inipyproject.tomlsetup.cfg$XDG_CONFIG_HOME/mypy/config~/.config/mypy/config~/.mypy.iniexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dmypy | cli | global executable | |
mypy | cli | global executable | |
mypyc | cli | global executable | |
stubgen | cli | global executable | |
stubtest | cli | global executable |
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.
install metadata
| Package key | brew:mypy |
|---|---|
| Version | 2.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mypy |
| Homepage | https://www.mypy-lang.org/ |
| Repository | https://github.com/python/mypy |
| Upstream docs | https://mypy-lang.org/ |
| License | MIT |
| Source archive | https://files.pythonhosted.org/packages/82/15/cca9d88503549ed6fedeaa1d448cdddd542ee8a490232d732e278036fbf2/mypy-2.1.0.tar.gz |
| Last updated | 2026-05-12T23:20:41Z |
| Pulse | updated |
| Dependencies | python@3.14 |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mypy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mypy 1.15.0-5
optional static typing for Python
sudo apt install mypymypy-doc 1.15.0-5
documentation for mypy
sudo apt install mypy-docpython3-mypy 1.15.0-5
public modules for mypy (Python 3)
sudo apt install python3-mypymypy
nix profile install nixpkgs#mypymypy 1.9.0-4ubuntu1
optional static typing for Python
sudo apt install mypymypy-doc 1.9.0-4ubuntu1
documentation for mypy
sudo apt install mypy-docpython3-mypy 1.9.0-4ubuntu1
public modules for mypy (Python 3)
sudo apt install python3-mypymypy 1.20.2-1
Optional static typing for Python (PEP484)
sudo pacman -S mypypython313-mypy 2.1.0-1.1
Optional static typing for Python
sudo zypper install python313-mypysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.