{"id":14240764,"url":"https://github.com/coatless-quarto/pyodide","last_synced_at":"2025-08-09T20:03:31.455Z","repository":{"id":187709031,"uuid":"648325928","full_name":"coatless-quarto/pyodide","owner":"coatless-quarto","description":"Community developed Quarto extension to enable interactive Python code cells in HTML documents using Pyodide","archived":false,"fork":false,"pushed_at":"2025-01-31T19:45:29.000Z","size":4760,"stargazers_count":86,"open_issues_count":11,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-02T10:35:42.702Z","etag":null,"topics":["interactive-code","pyodide","python","quarto","quarto-extension"],"latest_commit_sha":null,"homepage":"http://quarto.thecoatlessprofessor.com/pyodide/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coatless-quarto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["coatless"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-06-01T17:58:47.000Z","updated_at":"2025-03-31T12:36:59.000Z","dependencies_parsed_at":"2023-11-17T07:50:07.629Z","dependency_job_id":"413b50fa-c243-427b-ad6d-be08680e82ae","html_url":"https://github.com/coatless-quarto/pyodide","commit_stats":{"total_commits":86,"total_committers":1,"mean_commits":86.0,"dds":0.0,"last_synced_commit":"7ba7f4719cdce6133e9dc109c8214bc0eee62f77"},"previous_names":["coatless/quarto-pyodide","coatless-quarto/webpy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless-quarto%2Fpyodide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless-quarto%2Fpyodide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless-quarto%2Fpyodide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless-quarto%2Fpyodide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coatless-quarto","download_url":"https://codeload.github.com/coatless-quarto/pyodide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036064,"owners_count":21037092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["interactive-code","pyodide","python","quarto","quarto-extension"],"created_at":"2024-08-21T10:01:46.818Z","updated_at":"2025-04-09T12:04:15.853Z","avatar_url":"https://github.com/coatless-quarto.png","language":"JavaScript","funding_links":["https://github.com/sponsors/coatless"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Pyodide Extension for Quarto HTML Documents \u003cimg src=\"logo-quarto-pyodide.png\" align =\"right\" alt=\"\" width =\"150\"/\u003e\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e Looking for the official Quarto WebAssembly backend? Check out [`quarto-live`](https://github.com/r-wasm/quarto-live)!\n\nThis community developed Quarto extension enables the [Pyodide](https://pyodide.org/en/stable/) code cell within various [Quarto](https://quarto.org/) formats, including [HTML](https://quarto.org/docs/output-formats/html-basics.html), [RevealJS](https://quarto.org/docs/presentations/revealjs/), [Websites](https://quarto.org/docs/websites/), [Blogs](https://quarto.org/docs/websites/website-blog.html), and [Books](https://quarto.org/docs/books). \n\n![`quarto-pyodide` Filter in Action](https://i.imgur.com/gzAyV8H.gif)\n\nCheck out the above example of the extension in action [here](https://quarto.thecoatlessprofessor.com/pyodide/examples/readme)!\n\nInterested in an R version? Take a look at [`quarto-webr`](https://github.com/coatless/quarto-webr)!\n\n\u003e [!NOTE]\n\u003e Please note that the `{quarto-pyodide}` Quarto extension is a community-driven initiative and is **not** affiliated with Posit, Quarto, or the main [Pyodide](https://pyodide.org/en/stable/) project. Its evolution and maintenance stem solely from the collective efforts of community members.\n\n## Installation \n\nTo use this extension in a [Quarto project](https://quarto.org/docs/projects/quarto-projects.html), install it from within the project's working directory by typing into **Terminal**:\n\n``` bash\nquarto add coatless-quarto/pyodide\n```\n\nAfter the installation process is finished, the extension will be readily available for Quarto documents within the designated working directory. Please note that if you are working on projects located in different directories, you will need to repeat this installation step for each of those directories.\n\n## Usage\n\nFor each document, place the `pyodide` filter in the document's header:\n\n```yaml\nfilters:\n  - pyodide\n```\n\nThen, place the Python code for `Pyodide` in a code block marked with `{pyodide-python}`\n\n````markdown\n---\ntitle: Pyodide in Quarto HTML Documents\nformat: html\nfilters:\n  - pyodide\n---\n\nThis is a pyodide-enabled code cell in a Quarto HTML document.\n\n```{pyodide-python}\nn = 5\nwhile n \u003e 0:\n  print(n)\n  n = n - 1\n\nprint('Blastoff!')\n```\n````\n\nThe rendered document can be viewed online [here](https://quarto.thecoatlessprofessor.com/pyodide/examples/readme).\n\nFor help setting up other use cases, please see our [Templates](https://quarto.thecoatlessprofessor.com/pyodide/qpyodide-deployment-templates.html) collection.\n\n## Help\n\nTo report a bug, please [add an issue](https://github.com/coatless-quarto/pyodide/issues/new) to the repository's [bug tracker](https://github.com/coatless-quarto/pyodide/issues).\n\nWant to contribute a feature? Please open an issue ticket to discuss the feature before sending a pull request. \n\n## Acknowledgements\n\nPlease see our [acknowledgements page](https://quarto.thecoatlessprofessor.com/pyodide/qpyodide-acknowledgements.html).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoatless-quarto%2Fpyodide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoatless-quarto%2Fpyodide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoatless-quarto%2Fpyodide/lists"}