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.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

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
mathjspy-0.0.8.tar.gz (6.9 kB) Copy SHA256 hash SHA256 Source None Sep 23, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page