Skip to main content

Launch Jupyter kernels from Conda-Store

Project description

nb_conda_store_kernels

Usage

Modify the jupyter configuration to enable nb_conda_store_kernels as a kernel manager in jupyter_config.py. Several of the settings can be configured via traitlets. However several will need to be set via environment variables.

c.JupyterApp.kernel_spec_manager_class = "nb_conda_store_kernels.manager.CondaStoreKernelSpecManager"
c.CondaStoreKernelSpecManager.conda_store_url = "http://conda-store-server:5000/conda-store"
c.CondaStoreKernelSpecManager.conda_store_auth = "basic"

Environment variables which correspond to the environment variables that conda-store uses:

  • CONDA_STORE_URL
  • CONDA_STORE_AUTH
  • CONDA_STORE_NO_VERIFY_SSL
  • CONDA_STORE_USERNAME
  • CONDA_STORE_PASSWORD
  • CONDA_STORE_TOKEN

This package is heavily under development and much may change. If configured properly environment should show up in ~10 second delays from changes in the Conda-Store server.

Development

Start Conda-Store server

docker-compose up --build
nix develop
python -m nb_conda_store_kernels.install
jupyter lab

Login to Conda-Store at localhost:5000 and create a new environment.

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

nb_conda_store_kernels-0.1.0.tar.gz (4.0 kB view hashes)

Uploaded Source

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