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 details)

Uploaded Source

Built Distribution

jupyterlab_solutions-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab-solutions-0.0.1.tar.gz.

File metadata

  • Download URL: jupyterlab-solutions-0.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for jupyterlab-solutions-0.0.1.tar.gz
Algorithm Hash digest
SHA256 57e4af7c8e91ed75a144382bf2eea0f8b7d3ebe8ef5e0702ceebc9806798c216
MD5 ec36863d9071501512801718983e6268
BLAKE2b-256 2869623bc31657db0f5f25764321d9637a78045661097a4d1fe1c7c32b4f7082

See more details on using hashes here.

File details

Details for the file jupyterlab_solutions-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_solutions-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for jupyterlab_solutions-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34a95e4b814cb00fe4fb6f73351168023d27dbb2452c2b80a82f8a56e7be1211
MD5 567792259b59207901ab2f376d63ce60
BLAKE2b-256 f6a0fa6221bbca2bb31eea9efe7aaf89a87ae89150a288265176518881989459

See more details on using hashes here.

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