Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coatless-r-n-d/pyodide-quarto-demo
Experiments with generating a standalone Quarto Document powered by Pyodide for Interactive Python
https://github.com/coatless-r-n-d/pyodide-quarto-demo
interactive pyodide python quarto webassembly
Last synced: about 2 months ago
JSON representation
Experiments with generating a standalone Quarto Document powered by Pyodide for Interactive Python
- Host: GitHub
- URL: https://github.com/coatless-r-n-d/pyodide-quarto-demo
- Owner: coatless-r-n-d
- Created: 2023-08-12T08:14:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-08T22:44:10.000Z (about 1 year ago)
- Last Synced: 2023-12-08T23:30:19.094Z (about 1 year ago)
- Topics: interactive, pyodide, python, quarto, webassembly
- Homepage: http://rd.thecoatlessprofessor.com/pyodide-quarto-demo/
- Size: 300 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyodide-quarto-demo
Experiments with generating a standalone [Quarto Document](https://quarto.org/) powered by [Pyodide](https://pyodide.org/en/stable/) for Interactive [Python](https://www.python.org/) right in the web browser.
You can see a live version of the [proof of concept (PoC) document](https://rd.thecoatlessprofessor.com/webR-quarto-demos/webr-quarto-html-demo.html) and its [source](pyodide-quarto-html-demo.qmd).
**Note:** The PoC does lack the ability to handle graphical output.
You can create Pyodide-powered Quarto code cells using the [`quarto-pyodide`](https://github.com/coatless-quarto/pyodide) extension:
## Background
Pyodide was created in [2018 by Michael Droettboom](https://pyodide.org/en/stable/project/about.html#history) during his time at Mozilla as part of
the [iodide](https://github.com/iodide-project/iodide) project.> Pyodide is a Python distribution for the browser ...
> .. Pyodide makes it possible to install and run Python packages in the browser ...## Acknowledgements
This repository leans _heavily_ on:
- [Pyodide: Getting Started](https://pyodide.org/en/stable/usage/quickstart.html)
As well as the prior [webR PoC document](https://github.com/coatless-r-n-d/webR-quarto-demos) alongside of the webR developers public-facing examples:
- [Source of Tidyverse Blog Post](https://github.com/tidyverse/tidyverse.org/pull/617/files) and [Minor fix](https://github.com/tidyverse/tidyverse.org/commit/72bb2dd7ca0b2f211498a891aa54f55ddcad5014)
- [webR documentation landing page](https://github.com/r-wasm/webr/blob/53acd8861c44f1f167941d0a40f62b0cc23852da/src/docs/index.qmd#L23-L68) ([Live page](https://docs.r-wasm.org/webr/latest/))