abc-classroom.notebook

abcclassroom.notebook.execute_notebook(nb_path)[source]

Execute a notebook under grading conditions

abcclassroom.notebook.find_check_assignment(tree)[source]

Walk an AST and check for assignments to a variable called check

Return True if one is found, False otherwise.

abcclassroom.notebook.find_check_definition(tree)[source]

Walk an AST and check for definitions of a function called check

Return True if one is found, False otherwise.

abcclassroom.notebook.normalize_kernel_name(notebook)[source]
abcclassroom.notebook.split_notebook(notebook, student_path, autograder_path)[source]

Split a master notebook into student and autograder notebooks