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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for calculate_py_ay250-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f46a16ea90255b231319bba9696d799b5204e4eb7cfd10d53d4b0f175ea052c |
|
MD5 | eb74d46fa64b4c8bc3fc90c206dd81fd |
|
BLAKE2b-256 | 2e06cca501e29ae81adbc0698c87d033424af217d163db950ffd12e551ba9adf |