[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2017-02-27 Thread Aman Deep
Hi, I would like to take up this idea again, for GSoc '17. I had worked a lot on it for GSoc '16 but unfortunately there were not enough slots for it to get accepted as a project. what do you guys say? thanks On Monday, 7 March 2016 21:56:51 UTC+5:30, Aman Deep wrote: > > Hello Developers, >

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-24 Thread Aman Deep
Hi Developers, Here is my draft proposal: https://docs.google.com/document/d/131CWPgtupa5hG4GvJJF1ruKHz9QPgwhd72wkRPkY4Cw/edit?usp=sharing I have made a working prototype and given its code link in nbviewer in my proposal : http://nbviewer.jupyter.org/gist/hiamandeep/9edc1f889336b4b1b979 My do

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-24 Thread Aman Deep
Hi Christophe, Thanks for your suggestion. I will look into it. On Thursday, 24 March 2016 13:09:24 UTC+5:30, Christophe Bal wrote: > > Hello > > As a teacher in a high school, I think that a non modal window would be > really useful. > Le 24 mars 2016 06:46, "Aman Deep" > a > écrit : > >> Hi E

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-24 Thread Christophe Bal
Hello As a teacher in a high school, I think that a non modal window would be really useful. Le 24 mars 2016 06:46, "Aman Deep" a écrit : > Hi Everyone, > > > I was finally able to integrate mathquill with latex2sympy in the Jupyter > notebook. > > > Here is a screenshot showing a Mathematical e

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-23 Thread Aman Deep
Hi Everyone, I was finally able to integrate mathquill with latex2sympy in the Jupyter notebook. Here is a screenshot showing a Mathematical equation entered in mathquill and its latex is grabbed by pressing the *set value* and passed to *process_sympy* function to show the equivalent symp

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-23 Thread Aman Deep
Hi Francesco, This is my draft proposal wiki : https://github.com/sympy/sympy/wiki/GSoC-2016-Application-Aman-Deep:-Implementing-a-Formula-input-widget-for-Sympy-in-Jupyter-Ipython-Notebook and also on google docs: https://docs.google.com/document/d/131CWPgtupa5hG4GvJJF1ruKHz9QPgwhd72wkRPkY4Cw/

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-23 Thread Aman Deep
The code I just sent you had some css problem. here is the fixed one: https://gist.githubusercontent.com/hiamandeep/77a1877d406a8f76a0ed/raw/62f90e0298d1b7d7f16bbb5bbfb402e699bbe81a/widget_prototype_amandeep.html On Wednesday, 23 March 2016 16:46:47 UTC+5:30, Aman Deep wrote: > > Hi Francesco, >

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-23 Thread Aman Deep
Hi Francesco, That seems really interesting. I 'll look into it :) I have made a mathquill prototype widget and using some buttons to make things simpler. here is the html/js code : https://gist.githubusercontent.com/hiamandeep/77a1877d406a8f76a0ed/raw/34eddabdb9c0c413459c8c742e92a9fcc113ed8a/

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-23 Thread Francesco Bonazzi
On Wednesday, 23 March 2016 02:01:55 UTC+1, Aman Deep wrote: > > Someone Please Suggest Improvements in my proposal! > > Here is the link: > https://docs.google.com/document/d/131CWPgtupa5hG4GvJJF1ruKHz9QPgwhd72 > wkRPkY4Cw/edit?usp=sharing >

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-22 Thread Aman Deep
Someone Please Suggest Improvements in my proposal! Here is the link: https://docs.google.com/document/d/131CWPgtupa5hG4GvJJF1ruKHz9QPgwhd72 wkRPkY4Cw/edit?usp=sharing On Monday, 7 Mar

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-21 Thread Aman Deep
- I have submitted my draft proposal on https://summerofcode.withgoogle.com Here is the link: https://docs.google.com/document/d/131CWPgtupa5hG4GvJJF1ruKHz9QPgwhd72wkRPkY4Cw/edit?usp=sharing Please Suggest Improvements. - At the beginning of the idea disc

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-21 Thread Aaron Meurer
Either one is fine. If you use Google docs we can comment on it easier. Aaron Meurer On Mon, Mar 21, 2016 at 7:04 PM, Aman Deep wrote: > Hi Jason, > > But, for draft submission google asked for a link of google docs or any > other link. There is only a link field shown and not file upload optio

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-21 Thread Aman Deep
Hi Jason, But, for draft submission google asked for a link of google docs or any other link. There is only a link field shown and not file upload option. quoted from withgoogle.com > Start a draft proposal. > > Students who receive feedback on their proposals early end up with better > pro

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-21 Thread Jason Moore
You need to submit the document (not a link) as requested in the GSoC website. Jason moorepants.info +01 530-601-9791 On Mon, Mar 21, 2016 at 3:31 PM, Aman Deep wrote: > Should I submit the Wiki link >

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-21 Thread Aman Deep
Should I submit the Wiki link of my proposal or a Google doc in draft proposal in Gsoc website? On Monday, 7 March 2016 21:56:51 UTC+5:30, Aman Deep wr

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-19 Thread Ondřej Čertík
On Wed, Mar 16, 2016 at 3:38 PM, Aman Deep wrote: > I am able to convert latex expression to sympy expression using latex2sympy > (https://github.com/augustt198/latex2sympy) > It uses antlr4 to generate the parser. > > I got this latex for entered quadractic root equation in MathQuill. > > \frac{-

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-19 Thread Aaron Meurer
It looks like it could be useful. You'd have to play around with it with larger expressions to see how well it works. Ideally the library would be in Python, but if SnuggleTex works well it might be worth using. Aaron Meurer On Wed, Mar 16, 2016 at 1:48 PM, Aman Deep wrote: > Thanks for replying

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-14 Thread Aaron Meurer
There are two types of MathML, Presentation MathML and Content MathML. Presentation MathML is a markup for formatting expressions, similar to LaTeX. Content MathML has some knowledge of the mathematical expressions they represent. Content MathML is easier to parse to SymPy because it represents an

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-14 Thread Francesco Bonazzi
Maybe you could ask for help on the IPython/Jupyter conversation. On Sunday, 13 March 2016 03:02:15 UTC+1, Aman Deep wrote: > > Hi Developers, > > After doing a lot of online research, *I was finally able to make a > widget of MathQuill input expression box for Jupyter notebook!!* > > Ipython wid

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-12 Thread Aman Deep
Hi Developers, After doing a lot of online research, *I was finally able to make a widget of MathQuill input expression box for Jupyter notebook!!* Ipython widgets use backbone.js (MVC framework). back-end widget code is written in python and front-end widget is written in js. I simply passed

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-11 Thread Francesco Bonazzi
On Friday, 11 March 2016 13:21:10 UTC+1, Aman Deep wrote: > > If I am able to convert the latex expression to MathML. > Will it be easier to parse MathML to sympy expression? > > Mathquill appears to have other export formats and exporting SymPy compatible strings is marked as an issue on their

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-11 Thread Aman Deep
If I am able to convert the latex expression to MathML. Will it be easier to parse MathML to sympy expression? Here Is something I found which converts latex to MathML. https://www.mathtowebonline.com/ On Friday, 11 March 2016 17:20:48 UTC+5:30, Aman Deep wrote: > > I have asked them about it on

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-11 Thread Aman Deep
I have asked them about it on their irc channel irc://irc.freenode.net/mathquill Waiting for their reply.. Meanwhile I am trying to make latex work with sympy. Thanks. On Friday, 11 March 2016 16:01:17 UTC+5:30, Francesco Bonazzi wrote: > > > > On Thursday, 10 March 2016 22:58:09 UTC+1, Aman

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-11 Thread Francesco Bonazzi
On Thursday, 10 March 2016 22:58:09 UTC+1, Aman Deep wrote: > > I was able to use mathquill inside jupyter notebook using html & > javascript. > > Here is the code. > http://nbviewer.jupyter.org/gist/hiamandeep/52ccdce87c40fb021048 > > Excellent. > So, If I skip the latex part then what shou

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Aman Deep
I was able to use mathquill inside jupyter notebook using html & javascript. Here is the code. http://nbviewer.jupyter.org/gist/hiamandeep/52ccdce87c40fb021048 So, If I skip the latex part then what should be my approach to convert text in input area to sympy expression? Thanks. On Friday, 11

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Francesco Bonazzi
On Thursday, 10 March 2016 20:05:35 UTC+1, Aman Deep wrote: > > Here is something I have thought about the widget. > > 1. user will input the expression using mathquill > 2. and mathquill will generate the corresponding latex expression. > 3. latex expression should be then converted to sympy ex

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Jason Moore
If the software requires ANTLR4, then installing ANTLR3 is likely the issue. You need to figure out how to install ANTLR4. Maybe ask on their mailing list. Jason moorepants.info +01 530-601-9791 On Thu, Mar 10, 2016 at 11:05 AM, Aman Deep wrote: > Hi, Developers, > > Thanks Francesco, for intr

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Aman Deep
Hi, Developers, Thanks Francesco, for introducing me to 'mathquill' :) I found it very useful. I have been looking for something like this. I really liked the user friendly formatted input that it takes. Here is something I have thought about the widget. 1. user will input the expression using

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Ashutosh Saboo
Hi. I have been looking to work on this since some time now. I did some googling to find the best possible alternatives. For entering math equations input like the Wolfram Alpha equation input, I managed to find these free, open source alternatives-: 1. Stack Edit - https://stackedit.io/ - wh

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Francesco Bonazzi
I had some googling around. This one looks interesting: http://mathquill.com/ Their source code is on github: https://github.com/mathquill/mathquill They use the Mozilla Public License. What could be done: - integrate it in an IPython widget. - figure out a way to convert the Javascript

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-10 Thread Francesco Bonazzi
On Thursday, 10 March 2016 00:20:14 UTC+1, Jason Moore wrote: > > I think that creating a formula input widget for Jupyter would be a solid > project to work on for GSoC. That would open up a lot of possibilities. > > I'd suggest to get in touch with the MathJax community and ask them whether

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Ondřej Čertík
On Wed, Mar 9, 2016 at 4:19 PM, Jason Moore wrote: > I think that creating a formula input widget for Jupyter would be a solid > project to work on for GSoC. That would open up a lot of possibilities. Indeed. In general, any improvements like these I would be very happy to support as part of GSoC

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Jason Moore
I think that creating a formula input widget for Jupyter would be a solid project to work on for GSoC. That would open up a lot of possibilities. Jason moorepants.info +01 530-601-9791 On Wed, Mar 9, 2016 at 2:10 PM, Francesco Bonazzi wrote: > Jupyter notebooks use MathJax to display LaTeX for

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Francesco Bonazzi
Jupyter notebooks use MathJax to display LaTeX formulae. MathJax is a Javascript library that renders LaTeX code into HTML. I would be nice to have the MathJax HTML generation in order to add HTML events to the displayed formula. If you succeed to do it, you could also create an IPython widget

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Aman Deep
Sorry, that I didn't mention you for suggesting the "%matplotlib notebook" idea. When I reexecute that cell. there doesn't seem to be any probem. The plots do reappear. On Wednesday, 9 March 2016 21:17:10 UTC+5:30, Ondřej Čertík wrote: > > On Wed, Mar 9, 2016 at 3:15 AM, Aman Deep > wrote: >

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Aman Deep
Hi Ondrej, As Jason Suggested to include "%matplotlib notebook" Now Interactive plots are shown in the browser itself. Link : http://nbviewer.jupyter.org/gist/hiamandeep/4501ce5ae2a21caffd7c Note: In nbviewer the plots are shown static. so the ipynb file must be downloaded and run in jupyter t

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Aman Deep
As Jason suggested to include '%matplotlib notebook" Now Interactive Plots are shown in the notebook itself. Link: http://nbviewer.jupyter.org/gist/hiamandeep/34f060d5711bd6303c24 On Monday, 7 March 2016 21:56:51 UTC+5:30, Aman Deep wrote: > > Hello Developers, > > I am Aman Deep, a second year

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Aman Deep
Hi Jason, I tried "%matplotlib notebook" and it gives me interactive plots within the notebook!! I have been trying to do it. Thankyou very much! On Wednesday, 9 March 2016 21:40:20 UTC+5:30, Jason Moore wrote: > > Note that you can simply type "%matplotlib notebook" if you want > interactive

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Ondřej Čertík
On Wed, Mar 9, 2016 at 9:06 AM, Sartaj Singh wrote: >> I ran the notebook. No window appears for me > . > I also ran the notebook, the plot window appears for me though. The plots > are interactive :). > >> My idea is to make this work inside the browser itself, so that it works >> for everybody (

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Jason Moore
Note that you can simply type "%matplotlib notebook" if you want interactive plots from matplotlib in the notebook. Bokeh and mpld3 also give this functionality. Jason moorepants.info +01 530-601-9791 On Wed, Mar 9, 2016 at 8:06 AM, Sartaj Singh wrote: > > I ran the notebook. No window appear

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Sartaj Singh
> I ran the notebook. No window appears for me . I also ran the notebook, the plot window appears for me though. The plots are interactive :). > My idea is to make this work inside the browser itself, so that it works for everybody (and myself too). I agree with ondrej that it is better to be ins

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Ondřej Čertík
On Wed, Mar 9, 2016 at 3:15 AM, Aman Deep wrote: > Hello Developers, > > As you all suggested, I have started working on Jupyter as the Gui with > sympy. > > As Ondrej suggested to make some interactive plots using sympy in Jupyter > notebook since the current plots are static. > > So After going

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-09 Thread Aman Deep
Hello Developers, As you all suggested, I have started working on Jupyter as the Gui with sympy. As Ondrej suggested to make some interactive plots using sympy in Jupyter notebook since the current plots are static. So After going through some online resources , I was able to make some intera

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-08 Thread Jason Moore
My two cents: You should find a cross platform gui toolkit (could be a web app like jupyter or something native like Qt) and choose one that already has nice libraries for the features you need. For example, it'd be preferable to use and existing gui style equation editor (LibreOffice Math Equation

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-08 Thread Ondřej Čertík
On Tue, Mar 8, 2016 at 8:38 AM, Francesco Bonazzi wrote: > I would suggest to work on Jupyter/IPython notebook integration instead of > an independent GUI from scratch. > > Some reasons: > > There are far many more HTML/Javascript programmers than specific widget > engines (Qt, GTK, Tkinter, and s

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-08 Thread Francesco Bonazzi
I would suggest to work on Jupyter/IPython notebook integration instead of an independent GUI from scratch. Some reasons: - There are far many more HTML/Javascript programmers than specific widget engines (Qt, GTK, Tkinter, and so on). - Jupyter notebooks are becoming a de facto standa

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-08 Thread Aman Deep
Thank you everyone for your suggestions.. I just checked out mathCAD.. I would like to implement something like that which uses sympy. I don't have much experience with C++. So, how about using PyQt instead of Qt? How should I begin working on this idea? -- You received this message because y

Re: [sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-07 Thread Jason Moore
Your idea sounds similar to what MathCAD does. I've used it years ago and it was nice and many people like that concept. I moved away from it for the same reason I moved away from the equation editor in Word, it takes too long to fill in the templates for the

[sympy] Re: GSoC '16: Implementation of GUI for Sympy.

2016-03-07 Thread Aman Deep
Well what you suggested requires the user to input an expression in a particular format, which i guess is not very user friendly. Well my idea is to make the user experience more easier. The idea is to make a kind of Interactive GUI calculator that uses sympy. so, What i thought is that user wi