mypy
PyPI20.7k GitHub starsv2.4.1 · Oct 2026 · MIT (top-level declared license)
pip install mypy- No known CVEs
- 160.5M downloads/mo
- 142 versions
Description
Optional static typing for Python
Licenses
Declared license
MIT (top-level declared license of mypy)
Transitive dependency licenses
This package's dependency tree includes MPL-2.0, which may require you to publish changes to that component when you distribute.
| License | Category | Dependencies |
|---|---|---|
| MIT | Permissive | 3 of 5 |
| PSF-2.0 | Permissive | 1 of 5 |
| MPL-2.0 | Weak copyleft | 1 of 5 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need mypy approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 2.4.1 | Oct 2026 | MIT |
| 2.4.0 | Oct 2026 | |
| 2.3.1 | Aug 2026 | |
| 2.3.0 | Jul 2026 | |
| 2.2.0 | Jul 2026 | |
| 2.1.0 | May 2026 | |
| 2.0.0 | May 2026 | |
| 1.20.2 | Apr 2026 | |
| 1.20.1 | Apr 2026 | |
| 1.20.0 | Mar 2026 | |
| 1.19.1 | Dec 2025 | |
| 1.19.0 | Nov 2025 | |
| 1.18.2 | Sep 2025 | |
| 1.18.1 | Sep 2025 | |
| 1.17.1 | Jul 2025 | |
| 1.17.0 | Jul 2025 | |
| 1.16.1 | Jun 2025 | |
| 1.16.0 | May 2025 | |
| 1.15.0 | Feb 2025 | |
| 1.14.1 | Dec 2024 | |
| 1.14.0 | Dec 2024 | |
| 1.13.0 | Oct 2024 | |
| 1.12.1 | Oct 2024 | |
| 1.12.0 | Oct 2024 | |
| 1.11.2 | Aug 2024 |
25 older releases
| Version | Published | License |
|---|---|---|
| 1.11.1 | Jul 2024 | |
| 1.11.0 | Jul 2024 | |
| 1.10.1 | Jun 2024 | |
| 1.10.0 | Apr 2024 | |
| 1.9.0 | Mar 2024 | |
| 1.8.0 | Dec 2023 | |
| 1.7.1 | Nov 2023 | |
| 1.7.0 | Nov 2023 | |
| 1.6.1 | Oct 2023 | |
| 1.6.0 | Oct 2023 | |
| 1.5.1 | Aug 2023 | |
| 1.5.0 | Aug 2023 | |
| 1.4.1 | Jun 2023 | |
| 1.4.0 | Jun 2023 | |
| 1.3.0 | May 2023 | |
| 1.2.0 | Apr 2023 | |
| 1.1.1 | Mar 2023 | |
| 1.0.1 | Feb 2023 | |
| 1.0.0 | Feb 2023 | |
| 0.991.0 | Nov 2022 | |
| 0.990.0 | Nov 2022 | |
| 0.982.0 | Oct 2022 | |
| 0.981.0 | Sep 2022 | |
| 0.971.0 | Jul 2022 | |
| 0.961.0 | Jun 2022 |
pip install mypy resolves to the 2.x line today. Older major lines may still receive fixes.
Direct dependencies
5 direct dependencies, with no further transitive dependencies.
| Package | Version range | License |
|---|---|---|
| ast-serialize | <1.0.0,>=0.12.1 | MIT |
| librt | >=0.16.0 | MIT |
| mypy-extensions | >=1.0.0 | MIT |
| pathspec | >=1.0.0 | MPL-2.0 |
| typing-extensions | >=4.6.0 | PSF-2.0 |
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Downloads last month
- 160.5M
- Known dependents in this corpus
- 1,288
- GitHub stars
- 20.7k
- OpenSSF score
- 6.6 / 10
FAQ
- What is the latest version of mypy?
- The latest version of mypy is 2.4.1, published October 2026.
- What license is mypy under?
- mypy declares MIT as its top-level declared license. Its dependency tree spans 3 distinct licenses.
- Does mypy have known vulnerabilities?
- No known CVEs are recorded against published versions of mypy.
- How do I install mypy?
- Install mypy with pip install mypy.
- How do I generate an SBOM that includes mypy?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes mypy. Generate an SPDX or CycloneDX SBOM free.