jupyterlite / jupyterlite/pyodide-kernel

How to access Pyodide APIs to customize init

Open
#88 3 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Python
Stars
90
Forks
47
Avg merge
3d 13h
Merged PRs (30d)
11

Description

I've read through the docs, a bunch of issues, and played around with a few of the templates (the GitHub starter and "jupyter lite" commands), but can't figure out how to do this, so maybe an area for docs improvement.

How do you access the Pyodide APIs to configure the pyodide kernel before user environments (REPL, Notebooks) are made available in JupyterLite?

In this particular case, a package I want to use is only shipped as native binaries and doesn't have a pyodide compatible build available, but can be easily provided by a JavaScript shim and registered via `pyodide.registerJsModule` (see https://pyodide.org/en/stable/usage/faq.html#how-do-i-create-custom-python-packages-from-javascript ), so I want to run this before-hand in the kernel at startup. How should this be done?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.