Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a in-browser Python REPL #236

Open
augusto-herrmann opened this issue Apr 28, 2023 · 2 comments
Open

Add support for a in-browser Python REPL #236

augusto-herrmann opened this issue Apr 28, 2023 · 2 comments
Labels
feature New functionality

Comments

@augusto-herrmann
Copy link
Member

augusto-herrmann commented Apr 28, 2023

Overview

Pyodide supports running a Python REPL (read–eval–print loop) directly in the browser by using WebAssembly.

Considering it requires no back-end and can be statically hosted, it would be nice to be able to create a Python environment with selected Python packages and offer a REPL section in a Livemark page (e.g. to showcase to readers how easy it is to use a Frictionless Data Package).

An example of a static site that already uses a similar feature is NumPy's documentation (see the Try Numpy section).

See also the instructions on how to embed a REPL using JupyterLite.

@roll
Copy link
Member

roll commented May 1, 2023

Thanks @augusto-herrmann !

@roll roll added the feature New functionality label May 1, 2023
@roll roll removed the status in Open Knowledge May 1, 2023
@loleg
Copy link

loleg commented Oct 17, 2023

I agree that this is a very compelling idea. There are some more example integrations here: https://pyodide.org/en/stable/project/related-projects.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
Status: No status
Development

No branches or pull requests

3 participants