Skip to main content

Project that evaluates mathematical expressions, including calls to the wolfram alpha api.

Project description

calculate_py_ay250

Project that evaluates mathematical expressions, including calls to the wolfram alpha api. Built for UC Berkeley's AY 250 python data science course.

Main function is calculate, which can be called in two ways. First, from the command line:

$ python CalCalc.py -w 'mass of the moon in kg'
7.3459e+22

AND, from within Python

>>> from CalCalc import calculate
>>> calculate('mass of the moon in kg',  return_float=True) * 10
>>> 7.3459e+23

Project details


Download files

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

Source Distribution

calculate_py_ay250-1.0.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

calculate_py_ay250-1.0.2-py3-none-any.whl (1.7 kB view hashes)

Uploaded 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