Tools for authoring programming assignments in Jupyter notebooks
Project description
prog_edu_assistant_tools
Tools to create autogradeable assignments in Jupyter notebooks. See the documentation in https://github.com/google/prog-edu-assistant to get started with the autograder.
This package contains a few functions that makes authoring programming assignments in Jupyter more convenient, including the following:
- A summarizing test runner to run unit tests
- A function that can run a unit test directly in the Jupyter notebook
The intention of this package is to hide all the smarts of having a complete master notebook capable of complete auto-testing behind nice and readable names that can be imported rather than reimplemented in every master notebook.
How to build this package
source ../../../venv/bin/activate
python setup.py bdist_wheel
How to install this package locally
TODO(salikh): Publish prog_edu_assistant_tools
package to PyPI.
pip install dist/prog_edu_assistant_tools-0.2-py3-none-any.whl
If you are a developer and want to reinstall the package, use the following:
pip install --ignore-installed dist/prog_edu_assistant_tools-0.2-py3-none-any.whl
How to use this package in master notebooks.
Here are some useful snippets for your master assignment notebooks:
from prog_edu_assistant_tools.summary_test_result import SummaryTestResult
from prog_edu_assistant_tools.magics import autotest, report
# Loads %%solution, %%submission, %%template
%load_ext prog_edu_assistant_tools.magics
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 prog_edu_assistant_tools-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d8c21112b7935e1df80cf3be6a4c558ae97fc510ebc8b8628c567eb6777677b |
|
MD5 | d1dd626dfee6c00ca7eb4b78fdef8296 |
|
BLAKE2b-256 | 7baca0fb55ea1601ddd2ca285f49356c933eaff6a8f55a844897f4537a1417c2 |
Hashes for prog_edu_assistant_tools-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9239c91382b18a957be495f17b3422270e0632f5f712ab50f736fe39e4556d8a |
|
MD5 | a9eeff37943d168c247b8fe190a1aec7 |
|
BLAKE2b-256 | 261fbdc1a9d3731ec9e88801be3bbd97d446222310a3b6cbecf7bea0f99bbfe2 |