Ask Your Question
2

Sage needs updated GUI capabilities and fresh examples

asked 2018-04-16 15:51:22 +0200

ajmullins gravatar image

A while back I was offered https://wiki.sagemath.org/interact/ for some examples of user interfaces. Specifically I was interested in the "Web application" section, as that is most attuned to what I am trying to do. I have two issues with this page.

  1. Most (if not all) of the web application examples are broken (or easily broken) when one tries to run them on their own machine or just within the web browser. It makes it difficult to learn by example and/or use the examples to build upon.

  2. The examples are outdated. If there is more capability and/or beauty than what is shown (and I hope there is) it should be offered as an example there. With robust GUI capabilities in R, Python, Java, etc., one would really hope that Sage, with all of its great mathematical capabilities, could offer some GUI options that are more modern.

Just to offer a couple examples of what I'm talking about, GUI's made with wxPython in Python, or Shiny in R, are much more attractive than what is shown of the Sage examples.

edit retag flag offensive close merge delete

Comments

1

I fully agree that our documentation and wiki could better showcase Sage's capabilities.

One recent evolution in that direction is the inclusion of graphic output for plotting commands in the relevant sections of the reference manual.

The "interact" wiki page definitely needs some love.

Could you please provide links to specific attractive wxPython or Shiny examples.

slelievre gravatar imageslelievre ( 2018-04-17 18:14:33 +0200 )edit

Hi slelievre, sorry for the delayed response. I would love to.

For example, you can view a bunch of GUI examples made in R through the Shiny package here:

https://shiny.rstudio.com/gallery/

A quick Google search brought up a comparison between the Python packages tkinter and wxPython:

https://www.activestate.com/blog/2015...

Thank you for your time,

ajmullins gravatar imageajmullins ( 2018-04-19 16:30:08 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-04-16 19:49:11 +0200

Thank you for volunteering to produce updated examples! When you have made some progress, please report here or at the Google group sage-devel!

edit flag offensive delete link more

Comments

I would not be posting on the forums if I already knew how to make GUI's in Sage, specifically in the CoCalc cloud. The purpose of the post is to encourage those that DO know how to make robust GUI's in Sage to make examples, so that people like me can learn from them. Or, to encourage those that manage the packages on Sage to incorporate common packages like wxPython or pyGUI so that we can make GUI's as we're accustomed to in regular Python.

ajmullins gravatar imageajmullins ( 2018-04-16 20:53:57 +0200 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-04-16 15:51:22 +0200

Seen: 739 times

Last updated: Apr 16 '18