Skip to main content

A alternative pip magic to jupyter's %pip. It shows if you need to restart python after %smart_pip install

Project description

Smart pip magic

A alternative pip magic to jupyter's %pip. It shows if you need to restart python after %pip install based on if existing imported modules are affected.

Install

pip install smart-pip-magic

Usage

import smart_pip

%pip install [opts] [list of package specifications]

At the end of pip standard output, it will alert you if need to restart python and list all affected imported modules.

Project details


Download files

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

Source Distribution

smart_pip_magic-0.1.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

smart_pip_magic-0.1.0-cp312-cp312-macosx_14_0_arm64.whl (5.3 kB view hashes)

Uploaded CPython 3.12 macOS 14.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page