Giter Site home page Giter Site logo

jbdatascience / nb_conda_kernels Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anaconda/nb_conda_kernels

0.0 1.0 0.0 92 KB

Package for managing conda environment-based kernels inside of Jupyter

License: BSD 3-Clause "New" or "Revised" License

Python 67.27% JavaScript 32.73%

nb_conda_kernels's Introduction

nb_conda_kernels

Manage your conda environment-based kernels inside the Jupyter Notebook.

This package defines a custom KernelSpecManager that automatically creates KernelSpecs for each conda environment. When you create a new notebook, you can choose a kernel corresponding to the environment you wish to run within. This will allow you to have different versions of python, libraries, etc. for different notebooks.

Important Note : To use a conda environment as a kernel, don't forget to install ipykernel in this environment or it won't show up in the kernel list.

Installation

conda install -c conda-forge nb_conda_kernels

Getting Started

You'll need conda installed, either from Anaconda or miniconda.

conda create -n nb_conda_kernels python=YOUR_FAVORITE_PYTHON
conda install -n nb_conda_kernels --file requirements.txt -c r
source activate nb_conda_kernels
python setup.py develop
python -m nb_conda_kernels.install --enable --prefix="${CONDA_PREFIX}"
# or on windows
python -m nb_conda_kernels.install --enable --prefix="%CONDA_PREFIX"

We still use npm for testing things, so then run:

npm install

Finally, you are ready to run the tests!

npm run test

Changelog

2.1.0

  • add support for regex-based filtering of conda environments that should not appear in the list

2.0.0

  • change kernel naming scheme to leave default kernels in place

1.0.3

  • ignore build cleanup on windows due to poorly-behaved PhantomJS processes

1.0.2

1.0.1

  • minor build changes

1.0.0

  • update to notebook 4.2

nb_conda_kernels's People

Contributors

damianavila avatar bollwyvl avatar minrk avatar hadim avatar parente avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.