Skip to main content

%pip magics for IPython

Project description

This project provides IPython “magics” for working with pip.

To load the IPython magics, do (in IPython):

%load_ext ipython_pip

The primary magic is %pip. This works (almost) exactly like pip from the operating system command line.

Do:
%pip –help

to get an overview.

Note: when doing ‘%pip uninstall …’, use the -y option to avoid being prompted (which does not work using %pip).

Other magics:

%pip_upgrade_all

Attempt to upgrade all packages

%pip_upgrade_all_user

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ipython-pip-magics, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ipython_pip_magics-1.0.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page