Ask Your Question
1

Does sage offer API?

asked 2019-12-18 13:45:19 +0100

JanoutV gravatar image

Hello, I am currently using sage for calculations on elliptic curves in my semestral project and I want to build a sort of a "wrap GUI" in JavaFX, which would generate input for Sage and then will format the output from it. I was wondering if Sage offers some kind of API? I am well aware of using Processbuilder class in java to create and manage different processes, but this method inevitably has some caveats, so I'm just interested, is Sage offering some kind of API?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-12-18 16:18:36 +0100

tmonteil gravatar image

As Sage is written in Python, any way to call Python code from Java should work, hence you do not neet a dedicated api. If you want to interact from the network, you can have a look at jupyter or https://sagecell.sagemath.org/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-12-18 13:45:19 +0100

Seen: 767 times

Last updated: Dec 18 '19