Module: core.magics.packaging

Implementation of packaging-related magic functions.

1 Class

class IPython.core.magics.packaging.PackagingMagics(**kwargs: Any)

Bases: Magics

Magics related to packaging & installation

conda(line)

Run the conda package manager within the current kernel.

Usage:

%conda install [pkgs]

mamba(line)

Run the mamba package manager within the current kernel.

Usage:

%mamba install [pkgs]

micromamba(line)

Run the conda package manager within the current kernel.

Usage:

%micromamba install [pkgs]

pip(line)

Run the pip package manager within the current kernel.

Usage:

%pip install [pkgs]

uv(line)

Run the uv package manager within the current kernel.

Usage:

%uv pip install [pkgs]

1 Function

IPython.core.magics.packaging.is_conda_environment(func)