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 details)

Uploaded Source

File details

Details for the file nb_conda_store_kernels-0.1.0.tar.gz.

File metadata

  • Download URL: nb_conda_store_kernels-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for nb_conda_store_kernels-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55d5e970d04d918ff1cbce1b03477f42504cf6d10a44d6ab372efaa809437e2d
MD5 34f7a876c622526e64c5c9487e56cf3b
BLAKE2b-256 8113c8235c3635be3503da4b0044d31e5fd0135a910012a6ee3c7683ae5be29d

See more details on using hashes here.

Supported by

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