{"id":13440227,"url":"https://github.com/mpmath/mpmath","last_synced_at":"2026-02-23T07:53:49.715Z","repository":{"id":2001056,"uuid":"2934512","full_name":"mpmath/mpmath","owner":"mpmath","description":"Python library for arbitrary-precision floating-point arithmetic","archived":false,"fork":false,"pushed_at":"2024-10-21T06:04:04.000Z","size":18251,"stargazers_count":964,"open_issues_count":106,"forks_count":183,"subscribers_count":42,"default_branch":"master","last_synced_at":"2024-10-29T15:54:54.866Z","etag":null,"topics":["arbitrary-precision","complex-numbers","floating-point","multiprecision","numerical-integration","numerical-methods","numerical-optimization","ordinary-differential-equations","plotting","python","special-functions"],"latest_commit_sha":null,"homepage":"http://mpmath.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpmath.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":".github/CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.bib","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-12-07T18:09:08.000Z","updated_at":"2024-10-24T12:32:33.000Z","dependencies_parsed_at":"2023-07-31T03:51:29.893Z","dependency_job_id":"3cc478eb-1d67-4f83-99ec-b715ab48db5b","html_url":"https://github.com/mpmath/mpmath","commit_stats":{"total_commits":1734,"total_committers":68,"mean_commits":25.5,"dds":0.4878892733564014,"last_synced_commit":"5235f441db594a8c9c9f54c24a7bb446edf9ca68"},"previous_names":["fredrik-johansson/mpmath"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpmath%2Fmpmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpmath%2Fmpmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpmath%2Fmpmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpmath%2Fmpmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpmath","download_url":"https://codeload.github.com/mpmath/mpmath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244585915,"owners_count":20476838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arbitrary-precision","complex-numbers","floating-point","multiprecision","numerical-integration","numerical-methods","numerical-optimization","ordinary-differential-equations","plotting","python","special-functions"],"created_at":"2024-07-31T03:01:20.873Z","updated_at":"2025-10-20T16:16:45.952Z","avatar_url":"https://github.com/mpmath.png","language":"Python","readme":"mpmath\n======\n\n|pypi version| |Build status| |Zenodo Badge|\n\n.. |pypi version| image:: https://img.shields.io/pypi/v/mpmath.svg\n   :target: https://pypi.python.org/pypi/mpmath\n.. |Build status| image:: https://github.com/mpmath/mpmath/workflows/test/badge.svg\n   :target: https://github.com/mpmath/mpmath/actions?workflow=test\n.. |Zenodo Badge| image:: https://zenodo.org/badge/2934512.svg\n   :target: https://zenodo.org/badge/latestdoi/2934512\n\nA Python library for arbitrary-precision floating-point arithmetic.\n\nWebsite: https://mpmath.org/\nMain author: Fredrik Johansson \u003cfredrik.johansson@gmail.com\u003e\n\nMpmath is free software released under the New BSD License (see the\nLICENSE file for details).\n\n0. History and credits\n----------------------\n\nThe following people (among others) have contributed major patches\nor new features to mpmath:\n\n* Pearu Peterson \u003cpearu.peterson@gmail.com\u003e\n* Mario Pernici \u003cmario.pernici@mi.infn.it\u003e\n* Ondrej Certik \u003condrej@certik.cz\u003e\n* Vinzent Steinberg \u003cvinzent.steinberg@gmail.com\u003e\n* Nimish Telang \u003cntelang@gmail.com\u003e\n* Mike Taschuk \u003cmtaschuk@ece.ualberta.ca\u003e\n* Case Van Horsen \u003ccasevh@gmail.com\u003e\n* Jorn Baayen \u003cjorn.baayen@gmail.com\u003e\n* Chris Smith \u003csmichr@gmail.com\u003e\n* Juan Arias de Reyna \u003carias@us.es\u003e\n* Ioannis Tziakos \u003citziakos@gmail.com\u003e\n* Aaron Meurer \u003casmeurer@gmail.com\u003e\n* Stefan Krastanov \u003ckrastanov.stefan@gmail.com\u003e\n* Ken Allen \u003cken.allen@sbcglobal.net\u003e\n* Timo Hartmann \u003cthartmann15@gmail.com\u003e\n* Sergey B Kirpichev \u003cskirpichev@gmail.com\u003e\n* Kris Kuhlman \u003ckristopher.kuhlman@gmail.com\u003e\n* Paul Masson \u003cpaulmasson@analyticphysics.com\u003e\n* Michael Kagalenko \u003cmichael.kagalenko@gmail.com\u003e\n* Jonathan Warner \u003cwarnerjon12@gmail.com\u003e\n* Max Gaukler \u003cmax.gaukler@fau.de\u003e\n* Guillermo Navas-Palencia \u003cg.navas.palencia@gmail.com\u003e\n* Nike Dattani \u003cnike@hpqc.org\u003e\n* Tim Peters \u003ctim.peters@gmail.com\u003e\n* Javier Garcia \u003cjavier.garcia.tw@hotmail.com\u003e\n\nNumerous other people have contributed by reporting bugs,\nrequesting new features, or suggesting improvements to the\ndocumentation.\n\nFor a detailed changelog, including individual contributions,\nsee the CHANGES file.\n\nFredrik's work on mpmath during summer 2008 was sponsored by Google\nas part of the Google Summer of Code program.\n\nFredrik's work on mpmath during summer 2009 was sponsored by the\nAmerican Institute of Mathematics under the support of the National Science\nFoundation Grant No. 0757627 (FRG: L-functions and Modular Forms).\n\nAny opinions, findings, and conclusions or recommendations expressed in this\nmaterial are those of the author(s) and do not necessarily reflect the\nviews of the sponsors.\n\nCredit also goes to:\n\n* The authors of the GMP library and the Python wrapper\n  gmpy, enabling mpmath to become much faster at\n  high precision\n* The authors of MPFR, pari/gp, MPFUN, and other arbitrary-\n  precision libraries, whose documentation has been helpful\n  for implementing many of the algorithms in mpmath\n* Wikipedia contributors; Abramowitz \u0026 Stegun; Gradshteyn \u0026 Ryzhik;\n  Wolfram Research for MathWorld and the Wolfram Functions site.\n  These are the main references used for special functions\n  implementations.\n* George Brandl for developing the Sphinx documentation tool\n  used to build mpmath's documentation\n\nRelease history:\n\n* Version 1.3.0 released on March 7, 2023\n* Version 1.2.1 released on February 9, 2021\n* Version 1.2.0 released on February 1, 2021\n* Version 1.1.0 released on December 11, 2018\n* Version 1.0.0 released on September 27, 2017\n* Version 0.19 released on June 10, 2014\n* Version 0.18 released on December 31, 2013\n* Version 0.17 released on February 1, 2011\n* Version 0.16 released on September 24, 2010\n* Version 0.15 released on June 6, 2010\n* Version 0.14 released on February 5, 2010\n* Version 0.13 released on August 13, 2009\n* Version 0.12 released on June 9, 2009\n* Version 0.11 released on January 26, 2009\n* Version 0.10 released on October 15, 2008\n* Version 0.9 released on August 23, 2008\n* Version 0.8 released on April 20, 2008\n* Version 0.7 released on March 12, 2008\n* Version 0.6 released on January 13, 2008\n* Version 0.5 released on November 24, 2007\n* Version 0.4 released on November 3, 2007\n* Version 0.3 released on October 5, 2007\n* Version 0.2 released on October 2, 2007\n* Version 0.1 released on September 27, 2007\n\n1. Download \u0026 installation\n--------------------------\n\nMpmath requires Python 3.9 or later versions.  It has been tested with CPython\n3.9 through 3.14 and for PyPy 3.11.\n\nThe latest release of mpmath can be downloaded from the mpmath\nwebsite and from https://github.com/mpmath/mpmath/releases\n\nIt should also be available in the Python Package Index at\nhttps://pypi.python.org/pypi/mpmath\n\nTo install latest release of Mpmath with pip, simply run\n\n``pip install mpmath``\n\nor from the source tree\n\n``pip install .``\n\nThe latest development code is available from\nhttps://github.com/mpmath/mpmath\n\nSee the main documentation for more detailed instructions.\n\n2. Documentation\n----------------\n\nDocumentation in reStructuredText format is available in the\ndocs directory included with the source package. These files\nare human-readable, but can be compiled to prettier HTML using\n`Sphinx \u003chttps://www.sphinx-doc.org/\u003e`_.\n\nThe most recent documentation is also available in HTML format:\n\nhttps://mpmath.readthedocs.io/\n\n3. Running tests\n----------------\n\nThe unit tests in mpmath/tests/ can be run with `pytest\n\u003chttps://pytest.org/\u003e`_, see the main documentation.\n\nYou may also want to check out the demo scripts in the demo\ndirectory.\n\nThe master branch is automatically tested on the Github Actions.\n\n4. Known problems\n-----------------\n\nMpmath is a work in progress. Major issues include:\n\n* Some functions may return incorrect values when given extremely\n  large arguments or arguments very close to singularities.\n\n* Directed rounding works for arithmetic operations. It is implemented\n  heuristically for other operations, and their results may be off by one\n  or two units in the last place (even if otherwise accurate).\n\n* Some IEEE 754 features are not available. Inifinities and NaN are\n  partially supported, there is no signed zero; denormal rounding is\n  not available at all.\n\n* The interface for switching precision and rounding is not finalized.\n  The current method is not threadsafe.\n\n5. Help and bug reports\n-----------------------\n\nGeneral questions and comments can be `sent \u003cmailto:mpmath@googlegroups.com\u003e`_\nto the `mpmath mailinglist \u003chttps://groups.google.com/g/mpmath\u003e`_.\n\nYou can also report bugs and send patches to the mpmath issue tracker,\nhttps://github.com/mpmath/mpmath/issues\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpmath%2Fmpmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpmath%2Fmpmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpmath%2Fmpmath/lists"}