@chandraveshchaudhari/pyodide-editable-html
v0.1.4
Published
Plain HTML helpers for pyodide_editable.
Maintainers
Readme
@chandraveshchaudhari/pyodide-editable-html
Plain HTML helper for editable Pyodide-backed Python cells.
Live demo: https://chandraveshchaudhari.github.io/pyodide-editable/#html
Maintained by Chandravesh Chaudhari. Source, issues, and examples live in the pyodide-editable GitHub repository.
CDN Usage
<div id="cell"></div>
<script type="module">
import { createPyCell } from "https://cdn.jsdelivr.net/npm/@chandraveshchaudhari/[email protected]/browser.mjs";
createPyCell(document.getElementById("cell"), {
code: "print('Hello from Pyodide')",
});
</script>Bundler Usage
import { createPyCell } from "@chandraveshchaudhari/pyodide-editable-html";
createPyCell(document.getElementById("cell"), {
code: "print('Hello from Pyodide')",
});