pykubegrader package#

Subpackages#

Submodules#

pykubegrader.initialize module#

pykubegrader.initialize.initialize_assignment(name: str) None[source]#

pykubegrader.telemetry module#

pykubegrader.telemetry.encrypt_to_b64(message: str) str[source]#
pykubegrader.telemetry.ensure_responses() dict[source]#
pykubegrader.telemetry.log_encrypted(message: str) None[source]#
pykubegrader.telemetry.log_variable(value, info_type) None[source]#
pykubegrader.telemetry.score_question(student_email: str, term: str, assignment: str, question: str, submission: str, base_url: str = 'http://localhost:8000') Response[source]#
pykubegrader.telemetry.submit_question_new(student_email: str, term: str, assignment: str, question: str, responses: dict, score: dict, base_url: str = 'http://localhost:8000')[source]#
pykubegrader.telemetry.telemetry(info: ExecutionInfo) None[source]#
pykubegrader.telemetry.update_responses(key: str, value) dict[source]#

pykubegrader.utils module#

pykubegrader.utils.list_of_lists(options: list) bool[source]#
pykubegrader.utils.shuffle_options(options, seed: int)[source]#
pykubegrader.utils.shuffle_questions(desc_widgets: list[HTML], dropdowns: list[Select] | list[Column], seed: int) list[Tuple[HTML, Select | Column]][source]#

pykubegrader.validate module#

pykubegrader.validate.submission_message(response) None[source]#
pykubegrader.validate.validate_logfile(filepath: str, assignment_id: str, question_max_scores: dict[int, int], free_response_questions=0, username='student', password='capture', post_url='http://localhost:8000/upload-score', login_url='http://localhost:8000/login') None[source]#
pykubegrader.validate.verify_login(login_data, login_url)[source]#

Module contents#