Reference

Submodules

questioned.app module

Contains the main application entry point.

questioned.app.generate_questions(exam_spec) → list[source]

Selects a random list of questions from the question dataset.

questioned.renderer module

Contains functions for rendering to md.

questioned.renderer.answers_section_md(questions) → str[source]

Renders out the answers section to md.

questioned.renderer.introduction_section_md(questions, meta: str) → str[source]

Renders out an introduction section.

questioned.renderer.question_section_md(questions) → str[source]

Renders out the question section to md.

questioned.renderer.render_output(output_format, exam_questions, exam_spec, *args, **kwargs)[source]

Delegates to the correct renderer based on the output_format.

Module contents