{"id":16282448,"url":"https://github.com/jtpio/pyconde-jupyterlite-tutorial","last_synced_at":"2025-04-08T21:21:29.882Z","repository":{"id":232373378,"uuid":"629890440","full_name":"jtpio/pyconde-jupyterlite-tutorial","owner":"jtpio","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-19T08:34:18.000Z","size":1814,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T16:51:01.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jtp.io/pyconde-jupyterlite-tutorial/","language":"Jupyter Notebook","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/jtpio.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}},"created_at":"2023-04-19T08:28:26.000Z","updated_at":"2023-04-19T10:13:43.000Z","dependencies_parsed_at":"2024-04-09T14:23:13.472Z","dependency_job_id":"735f03d0-54f9-49e5-bec5-1c2e19f01d46","html_url":"https://github.com/jtpio/pyconde-jupyterlite-tutorial","commit_stats":null,"previous_names":["jtpio/pyconde-jupyterlite-tutorial"],"tags_count":0,"template":false,"template_full_name":"jupyterlite/xeus-lite-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fpyconde-jupyterlite-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fpyconde-jupyterlite-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fpyconde-jupyterlite-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fpyconde-jupyterlite-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtpio","download_url":"https://codeload.github.com/jtpio/pyconde-jupyterlite-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927857,"owners_count":21019608,"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":[],"created_at":"2024-10-10T19:10:41.450Z","updated_at":"2025-04-08T21:21:29.861Z","avatar_url":"https://github.com/jtpio.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xeus-python + JupyterLite demo\n\n[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://jupyterlite.github.io/xeus-python-demo/retro/notebooks/?path=demo.ipynb)\n\nxeus-python + JupyterLite deployed as a static site to GitHub Pages, for demo purposes.\n\n## ✨ Try it in your browser ✨\n\nhttps://jupyterlite.github.io/xeus-python-demo/retro/notebooks/?path=demo.ipynb\n\n## ≠ How does it compare to the Pyodide kernel?\n\n#### Pyodide kernel:\n\n- Is based on [Pyodide](https://github.com/pyodide/pyodide)\n- Uses [IPython](https://github.com/ipython/ipython) for the code execution (access to IPython magics, support for the inline Matplotlib backend, *etc*)\n- Provides a way to dynamically install packages with ``piplite`` (**e.g.** ``await piplite.install(\"ipywidgets\")``)\n- **Does not support** sleeping with ``from time import sleep``\n- **Does not support** pre-installing packages\n\n#### jupyterlite-xeus-python:\n\n- Is based on [xeus-python](https://github.com/jupyter-xeus/xeus-python)\n- Uses [IPython](https://github.com/ipython/ipython) for the code execution (access to IPython magics, support for the inline Matplotlib backend, *etc*)\n- **Does not provide** a way to dynamically install packages (yet. We are working on building a ``mamba`` package manager for WASM)\n- **Supports** sleeping with ``from time import sleep``\n- **Supports** pre-installing packages from ``emscripten-forge`` and ``conda-forge``, by providing an ``environment.yml`` file defining the runtime environment\n\n## 💡 How to make your own deployment\n\n![Deploy your own](deploy.gif)\n\nThen your site will be published under https://{USERNAME}.github.io/{DEMO_REPO_NAME}\n\n## 📦 How to install extra packages\n\nYou can pre-install extra packages for xeus-python by adding them to the ``environment.yml`` file.\n\nOnly ``no-arch`` packages from ``conda-forge`` and packages from ``emscripten-forge`` can be installed.\n\nFor example, if you want to create a JupyterLite deployment with NumPy and Matplotlib pre-installed, you would need to edit the ``environment.yml`` file as following:\n\n```yml\nname: xeus-python-kernel\nchannels:\n  - https://repo.mamba.pm/emscripten-forge\n  - https://repo.mamba.pm/conda-forge\ndependencies:\n  - numpy\n  - matplotlib\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fpyconde-jupyterlite-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtpio%2Fpyconde-jupyterlite-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fpyconde-jupyterlite-tutorial/lists"}