We have Sage ([url removed, login to view]) installed on Ubuntu.
Now we need a Python script written so we could call Sage through PHP (via the python script).
We don't need a complex script like Sage Notebook. There is no need to have user management, worksheet management, any sort of UI etc.
All required is that every time the PHP script runs, all calculation inside that php process opreates as the same worksheet. There is no need to save/cache the worksheet.
We are more than happy to take any other approach other than relying on GET requests to sage notebook. As long as we could call Sage with PHP. Before bidding you should thoroughly investigate how Sage and Sage Notebook functions to avoid time wasting in the end. In your bid you should include a PM on how you are going to achieve the objectives. All Copy/Pasted messages will be ignored.