Skip to main content

Python version of SUGAR

Project description

SUGAR

Python version of [sugar][sugar]

Install

pip install sk-sugar

Setup

To get all the pagackes required, run the following command:

$ conda env create -f environment.yml

This will create a new conda environment sklab-sugar, which can be activated via:

$ conda activate sklab-sugar

Add kernel to Jupyter Notebook

automatic conda kernels

For greater detail see the official docs for nb_conda_kernels. In short, install nb_conda_kernels in the environment from which you launch JupyterLab / Jupyter Notebooks from (e.g. base) via:

$ conda install -n <notebook_env> nb_conda_kernels

to add a new or exist conda environment to Jupyter simply install ipykernel into that conda environment e.g.

$ conda install -n <python_env> ipykernel

manual ipykernel

add to your Jupyter Notebook kernels via

$ python -m ipykernel install --user --name sklab-sugar

It can be removed via:

$ jupyter kernelspec uninstall sklab-sugar

list kernels found by Jupyter

kernels recognized by conda

$ python -m nb_conda_kernels list

check which kernels are discovered by Jupyter:

$ jupyter kernelspec list

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

sk_sugar-0.0.6.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

sk_sugar-0.0.6-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

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