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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyterlab-solutions, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size jupyterlab_solutions-0.0.1-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size jupyterlab-solutions-0.0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page