项目作者: mamba-org

项目描述 :
A web UI for exploring Mamba environments
高级语言: TypeScript
项目地址: git://github.com/mamba-org/mamba-navigator.git
创建时间: 2020-05-12T12:53:10Z
项目社区:https://github.com/mamba-org/mamba-navigator

开源协议:

下载


Mamba Navigator

Archived

This project is archived. Development is now happening in https://github.com/mamba-org/jupyter_conda

Try it online

Open Mamba Navigator:

Binder

Open JupyterLab:

Binder

lab-launcher

Development

  1. # create a new conda environment
  2. conda env create --file=binder/environment.yml
  3. # activate the environment
  4. conda activate mamba-navigator
  5. # install the dependencies
  6. yarn
  7. # build the application
  8. yarn run build
  9. # start the app
  10. python main.py
  11. # or with the --no-browser option
  12. python main.py --no-browser

The app will open in the browser at http://localhost:8888.

There is also a watch script to automatically rebuild the application when there is a new change:

  1. yarn run watch

Adding a new plugin

New plugins can be added to the application, by creating a new folder under src/plugins and requiring it in the app startup.

Plugins follow the same structure and principles as the core JupyterLab Plugins, and can integrate with other JavaScript libraries such as React.

It is possible to reuse existing third-party JupyterLab extensions in this custom build, by adding them to the dependencies in package.json and to the list of modules in src/index.ts. Check the p5 Notebook index.ts file as an example.

Resources

For more examples on building custom JupyterLab-based front-ends: