Skip to main content

A Python library evaluate mathematical expressions in the same manner as MathJS.

Project description


mathjspy is a Python library evaluate mathematical expressions in the same manner as MathJS.

The purpose is to allow calculation of expressions in python that are consistent with what is calculated through MathJS.

Many thanks to MathJS for their hard work in developing an excellent mathematical expression interpreter.

Official documentation

The homepage is You will find:

  • every installation methods
  • the official documentation
  • code examples
  • instructions for contributing

0.0.9 (unreleased)

  • Updated for Python3

0.0.8 (unreleased)

  • Fixed addition following subtraction
  • Added a ? b : c syntax

0.0.7 (unreleased)

  • Override divide by zero errors for now.

0.0.6 (unreleased)

  • Moved depreciated ifElse function to ifElseAlt until a ? b : c syntax supported.

0.0.5 (unreleased)

  • Changed IRR function.

0.0.3 (unreleased)

  • Allow tuple / array data types for functions.

0.0.2 (unreleased)

  • Added log function

0.0.1 (unreleased)

Initial Release

  • Initial project released in Alpha.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mathjspy, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size mathjspy-0.0.9-py2.py3-none-any.whl (11.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page