2017-02-27 04:34:52 +0200 | received badge | ● Famous Question (source) |
2014-04-13 00:49:04 +0200 | received badge | ● Notable Question (source) |
2013-03-12 18:52:47 +0200 | received badge | ● Popular Question (source) |
2012-02-28 05:19:00 +0200 | received badge | ● Supporter (source) |
2012-02-28 05:18:58 +0200 | marked best answer | Call Sage functions from Node.js or other web app/service The Sage Cell server acts as a web service to perform computations and return results, plots, etc. The iphone and android apps use it as a backend, for example. We're working on good documentation for it. Here are some examples, though: http://aleph.sagemath.org (see the bottom of the page for messages sent back and forth to the web service). Code: https://github.com/sagemath/sagecell Embedding documentation: https://github.com/sagemath/sagecell/... (see the bottom for a small example) Another example: http://utmost.aimath.org/ (see bottom of page) |
2012-02-28 05:18:58 +0200 | received badge | ● Scholar (source) |
2012-02-04 04:11:21 +0200 | received badge | ● Editor (source) |
2012-02-04 04:01:25 +0200 | asked a question | Call Sage functions from Node.js or other web app/service Hi, I have a Node.js app that needs to use a few of Sagemath's functions. I have no idea at all how I can call into Sage from a js backend, or even if it's possible to call it from an external process. Obviously being able to call Sage to plot a graph and receiving the result as a stream or saved to disk would be optimal. But so far, I would be happy if I could call factor() from a web page and display the results. Anyone has an idea how to accomplish this? I don't mind having a Python layer around Sage if thats what it takes, but any code snippets or pointers to existing libraries would be highly appreciated. Thanks. |