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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mathjspy-0.0.9-py2.py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page