This is great to see. Thank you so much for working on this. I hope we can
iron out the kinks with this, but in many ways, it is already better than
the previous iteration of SymPy Live.

By the way, once we have the main SymPy Live working, we should investigate
if there is an extension we can add to the docs to enable execution there.
We had to remove the old SymPy Live extension from the dev docs when we
moved to the new theme, and once we completely replace SymPy Live with the
jupyterlite version, we will shut down the App Engine version that was in
the docs.

Aaron Meurer

On Mon, May 9, 2022 at 9:20 PM [email protected] <[email protected]>
wrote:

> Hi All,
>
> Context: Thanks to developments in the JavaScript world, we can now run
> Python in the browser. See the projects emscripten
> <https://emscripten.org/>, Pyodide <https://pyodide.org/en/stable/>, and
> JupyterLite <https://jupyterlite.readthedocs.io/en/latest/>/Pyolite
> <https://jupyterlite.readthedocs.io/en/latest/kernels/pyolite.html> for
> more about this. Essentially, modern web browsers are capable of running
> the real CPython interpreter, and not only that but most pure-Python
> packages can be imported
> <https://pyodide.org/en/stable/usage/api/micropip-api.html> and run
> without issues!
>
> Several SymPy users proposed the idea of using this new functionality to
> create a new SymPy shell that runs in the browser. I'm happy to announce
> this idea is now a reality. Navigate to this URL 
> *https://www.sympy.org/en/shell.html
> <https://www.sympy.org/en/shell.html>* to check it out.
>
> Some notes, in point form, about this project:
>
>    - based on latest version of SymPy (the version on pypi)
>    - initial load takes between 15 and 30 seconds (on desktop)
>    - running commands is very fast after initial load
>    - supports modern web browsers like Firefox and Chrome
>    - works on some mobile browsers (more testing needed)
>
>
> Many thanks to Jeremy Tuloup who showed how the JupyterLite REPL can be
> customized to create a SymPy shell.
>
> The new SymPy shell on the sympy.org website is an experiment that allows
> us to test the new JupyterLite-based REPL and iron out any edge cases, with
> the goal of eventually using the same approach on https://live.sympy.org/
> (which has been becoming increasingly difficult to maintain and keep up to
> date).
>
> I invite you all to try out the new shell
> <https://www.sympy.org/en/shell.html> by running your favorite SymPy
> calculations (see bit.ly/sympyjstest for examples). If you encounter
> problems, bugs, or other unexpected behavior during testing, please add a
> comment to this issue:
> https://github.com/sympy/sympy.github.com/issues/176
>
>
>  - Ivan
>
>
> PS: For more background info about this work, see this initial discussion
> here <https://github.com/sympy/sympy-live/issues/83> and PRs 169
> <https://github.com/sympy/sympy.github.com/pull/169> and 174
> <https://github.com/sympy/sympy.github.com/pull/174>.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/46a09c63-31bd-4e1d-9257-0644074baaacn%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/46a09c63-31bd-4e1d-9257-0644074baaacn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BX7363Wag6zVocKL7tGE2OGfj-3mC0XNUJFDgVuYC1Bg%40mail.gmail.com.

Reply via email to