Metadata-Version: 2.0
Name: ucamcl
Version: 0.9.5
Summary: Utilities for teaching with Python
Home-page: https://github.com/damonjw/ucamcl
Author: Damon Wischik
Author-email: djw1005@cam.ac.uk
License: AGPLv3+
Keywords: education teaching testing
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Topic :: Education :: Computer Aided Instruction (CAI)
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: cryptography (>=2.0)
Requires-Dist: requests

ucamcl
======

This package provides a simple tool for checking answers
to exercises in a Jupyter notebook.

Usage::

  # Install the grader
  !pip install ucamcl

  # Log in to the grader. It will prompt you with a "log in" button.
  from ucamcl import autograder
  GRADER = autograder('http://mycollege.ac.uk/mycourse/grader', section='lent/notes1')

  # Fetch a question. It will tell you what to do, with what parameters.
  q = GRADER.fetch_question('ex5')
  print(q)

  # Prepare your answer and submit it.
  myans = {'x': [i**2 for i in range(q['n'])]
  is_correct, answer = GRADER.submit_answer(q, myans)

This package is what the student installs in their Jupyter notebook.
The other half is a server that should be set up by the course instructor.
Contact Damon Wischik <djw1005@cam.ac.uk> for details.




