Skip to main content

Python Jupyter kernel delegating to a local virtual environment

Project description

Python Local-Venv Kernel

A Jupyter kernel that delegates to the .venv folder in the notebook directory.

Derived from poetry-kernel, see the FAQ

Installation

The python-local-venv package must be installed into the environment as Jupyter itself.

pip install python-local-venv
conda install python-local-venv

Usage

  • Jupyter and the python-local-venv package should be installed in the same environment
  • The project folder must have a virtual (project) environment instantiated in a subfolder .venv
  • The project environment must include the ipykernel package (but not jupyter)
  • Start Jupyter from the project folder
  • Select the "Python (local .venv)"

FAQ

See FAQ.md.

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

python-localvenv-kernel-0.1.2.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

python_localvenv_kernel-0.1.2-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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