Jupyter extension for integration with MarkUs
Project description
markus-jupyter-extension
A Jupyter extension to support integration with MarkUs.
Installation
This extension is available as a Python package. To install it:
$ pip install markus-jupyter-extension
Then install and enable the extension:
$ jupyter nbextension install --py --user markus-jupyter-extension
$ jupyter nbextension enable --py --user markus-jupyter-extension
Development
To begin development on the extension, first clone this repository:
$ git clone https://github.com/MarkUsProject/markus-jupyter-extension.git
Then go into the cloned repository and install the contained Python package in editable mode:
$ pip install -e .
You'll also need to install Jupyter notebook:
$ pip install notebook
Check setup using examples
To test whether your extension is working properly:
-
Start the MarkUs server (see MarkUs development instructions for details).
-
Login as a student in MarkUs and go to the "Account Settings" page using the dropdown at the top-right of the website.
-
Copy the API key for the student.
-
Run the Jupyter notebook server from the
examples
directory:$ cd examples $ jupyter notebook
-
The Jupyter front-end client should launch automatically in your web browser.
-
Create a new file called
markus-api-key.txt
and save the API key you copied in step 3. -
Open the demo notebook. Optionally, you can run the notebook cell to see the notebook's metadata (including the
"markus"
metadata) -
Click on the MarkUs icon button in the toolbar, which will submit the file to MarkUs.
-
If you then go back to MarkUs as the student, you should see the file submitted to the specified assignment.
References
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
Built Distribution
Hashes for markus-jupyter-extension-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ac9fbbea0275fb6e3d5435083924ac67f1a434d72b9b743a0fb09c72044478b |
|
MD5 | 7a32d83250bab7abd1b78f42c71154ed |
|
BLAKE2b-256 | 0526c50adef3aac5a63f79c09aa01963e0a35b924c6f8edf0feffb7a06b4452c |
Hashes for markus_jupyter_extension-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc55702c7e9b0f03acdad6b739e1f68e9f32d417c2bc1decb54b45fd30fea8c |
|
MD5 | 601490bce3e455d9bbf450a0a6160047 |
|
BLAKE2b-256 | 765297246d9f8e7b740001b1db21def048c5dbf1d233a9738c2f476faf502138 |