Open westurner opened 9 months ago
STORY: Users can use %pip to install with micropip in JupyterLite notebooks
That's already the case https://jupyterlite.readthedocs.io/en/latest/howto/pyodide/packages.html#installing-packages-at-runtime,
%pip --help
usage: piplite [-h] [--verbose] [--quiet] [--requirements [REQUIREMENTS ...]]
[--no-deps] [--pre]
{help,install} [packages ...]
a pip-like wrapper for `piplite` and `micropip`
positional arguments:
{help,install} action to perform
packages package names (or wheel URLs) to install
options:
-h, --help show this help message and exit
--verbose, -v whether to print more output
--quiet, -q only show the minimum output
--requirements [REQUIREMENTS ...], -r [REQUIREMENTS ...]
paths to requirements files
--no-deps whether dependencies should be installed
--pre whether pre-release packages should be considered
although it doesn't support the other subcommand than install
that micropip has, so maybe those could be added.
STORY: Users can use
%pip
to install with micropip in JupyterLite notebooks (so that notebooks with%pip
will work with all Python Jupyter kernels)A main for
%pip
would need or could have at least: