Install
mpmath
Python library for arbitrary-precision floating-point arithmetic
1.4.1Latest, 15 Mar 2026
178MDownloads, last month
0Advisories on the latest
2Advisories, all versions
BSD-3-ClauseLicence
1.2KStars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | ReDOS in Mpmath CVE-2021-29063 | Fixed in 1.3.0 | 9 Aug 2021 |
| PYSEC-2021-427 CVE-2021-29063 | Fixed in 1.3.0 | 21 Jun 2021 |
In the news
- Mpmath: The Ultimate Toolkit for Mathematical Precision in Python python.plainenglish.io, 13 Mar 2024
On Hacker News
- Mpmath – Python library for arbitrary-precision floating-point arithmetic 40 points, 13 comments, 16 Feb 2016
- Calculating pi with AGM and mpmath 21 points, 2 comments, 3 Jun 2012
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.