Google Apps Script looks to be pretty perfect for a school project, however I\'m not terribly comfortable with JavaScript and the entire rest of the project is going to be done
So I came across this post because I also wanted to do the same thing for calculating moist air properties, which there are many free calculation tools out there, one of which is a python package. 2 days later... I'm not sure if how I interpreted this post is a complete match to my problem and solution, so I will describe briefly what I did. I've documented the detailed steps in detail in this post
My goal was to have general access to python packages through Google Sheets via GAS, similar to how you can build custom Excel VBA macros that have extensions to many 3rd party libraries and COM interfaces. The way I implemented it was to first publish a simple WebApp fruitfarmapp on the cloud - also using Google's free trial GAE, and then make a request to this WebApp using the GAS function UrlFetchApp() and then unpack the JSON using GAS.
A few comments
Performance tip - Minimize API communication - use batch requests The way that I have it implemented now is only proof-of-concept, so I'm returning each value one-at-a-time. This wouldn't be how you wouldd do it if you need to process array of data -- for example if you have a database of sensor values of temperature and humidity. In this case you should process the response as a batch request, because the API communication is the bottleneck slow step, so you want to minimize the API fetch and do as much as you can either in the GAS or in your WebApp.
General comment - this was really tedious. I would strongly recommend to try another method if at all possible. Building and deploying a WebApp just to do a simple calc is not a good use of time, especially if you are a novice like me. This took a total of 20hrs to build the WebApp from scratch, deploy it, debug various nuances, etc. The easiest part was the GAS script ~ 1 hr once the API was deployed.
Not sure if this is helpful or not, Good luck!