Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anaconda/nb_conda
Conda environment and package access extension from within Jupyter
https://github.com/anaconda/nb_conda
Last synced: 5 days ago
JSON representation
Conda environment and package access extension from within Jupyter
- Host: GitHub
- URL: https://github.com/anaconda/nb_conda
- Owner: anaconda
- License: bsd-3-clause
- Created: 2015-12-09T23:12:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T15:24:12.000Z (7 months ago)
- Last Synced: 2024-10-20T18:36:00.022Z (23 days ago)
- Language: Python
- Size: 138 KB
- Stars: 139
- Watchers: 12
- Forks: 32
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-jupyter-resources - GitHub - 55% open · ⏱️ 11.09.2020): (Jupyter拓展)
README
# nb_conda
[![Install with conda](https://anaconda.org/conda-forge/nb_conda/badges/installer/conda.svg
)](https://anaconda.org/conda-forge/nb_conda)
[![Build Status](https://travis-ci.org/Anaconda-Platform/nb_conda.svg)](https://travis-ci.org/Anaconda-Platform/nb_conda) [![Build status](https://ci.appveyor.com/api/projects/status/j999v076nwgwppwm/branch/master?svg=true)](https://ci.appveyor.com/project/bollwyvl/nb-conda/branch/master) [![Coverage Status](https://coveralls.io/repos/github/Anaconda-Platform/nb_conda/badge.svg?branch=master)](https://coveralls.io/github/Anaconda-Platform/nb_conda?branch=master)Provides Conda environment and package access extension from within Jupyter.
## Conda tab in the Jupyter file browser
This extensions adds a Conda tab to the Jupyter file browser. Selecting the Conda tab
will display:* A list of the Conda environments that current exist
* The list of Conda packages available in currently configured channels
(http://conda.pydata.org/docs/config.html#channel-locations-channels)
* The list of packages installed in the selected environment.You can click on the name of an environment to select it. That will allow you to:
* see the packages installed in the environment
* install new packages from the available package list
* check for updates on selected (or all) packages
* update selected (or all) packages in the environment.### Creating New Environments
There are two ways to create an environment:
* Create a new environment
Use the New Environment button at the top of the page, and select `Python 2`, `Python 3`, or `R` to create a
base environment with the corresponding packages. Note that if you want to run a
Jupyter python kernel in the new environment, you must also install the `ipykernel`
package in the environment.* Clone an existing environment
Click the clone button next to an environment in the list, and enter the desired name of the
new environment.## Conda in the Notebook view
This extension adds a Conda Packages item to the Kernel menu. Selecting this item displays
the list of Conda packages in the environment associated with the running kernel, and the
list of available packages. You can perform the same actions as in the Conda tab, but only
against the current environment.## Development
```shell
conda create -y -n nb_conda python
conda install -y -n nb_conda --file requirements.txt -c conda-forge
source activate nb_conda
python setup.py develop
jupyter nbextension install nb_conda --py --sys-prefix --symlink
jupyter nbextension enable nb_conda --py --sys-prefix
jupyter serverextension enable nb_conda --py --sys-prefix
```## Changelog
### 2.2.1
- fix bug in check updates feature### 2.2.0
- support conda 4.3
- support notebook security fix introduced in notebook 4.3.1### 2.1.0
- fix environment export button
- allow environment names with one letter and validate against "suspicious" characters### 2.0.0
- update to new nb_conda_kernels naming scheme
- namespace all API calls into `/conda/`### 1.1.0
- fix usage in root environment### 1.0.1
- minor build changes### 1.0.0
- Update to notebook 4.2