Skip to main content

A jupyterlab extension to hide solutions for assignments

Project description

jupyterlab-rmotr-solutions

My first extension description

Installation

To install using pip:

jupyter labextension install https://github.com/rmotr/jupyterlab-solutions
pip install git+https://github.com/rmotr/jupyterlab-solutions.git

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
jupyter labextension link .

also add

{
  "NotebookApp": {
    "nbserver_extensions": {
      "jupyter_nbextensions_configurator": true,
      "jupyterlab_rmotr_solutions": true
    }
  }
}

on /Users/<USERNAME>/.jupyter/jupyter_notebook_config.json.

Adding custom variables

Add the following to /Users/<USERNAME>/.jupyter/jupyter_notebook_config.py.

c.JupyterLabRmotrSolutions.is_enabled = True
c.JupyterLabRmotrSolutions.role = 'teacher'

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

jupyterlab-solutions-0.0.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

jupyterlab_solutions-0.0.1-py3-none-any.whl (3.4 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