inginious.frontend.plugins.contests package

An algorithm contest plugin for INGInious. Based on the same principles than contests like ACM-ICPC.

class inginious.frontend.plugins.contests.ContestAdmin[source]

Bases: inginious.frontend.pages.course_admin.utils.INGIniousAdminPage

Contest settings for a course

GET_AUTH(courseid)[source]

GET request: simply display the form

POST_AUTH(courseid)[source]

POST request: update the settings

save_contest_data(course, contest_data)[source]

Saves updated contest data for the course

class inginious.frontend.plugins.contests.ContestScoreboard[source]

Bases: inginious.frontend.pages.utils.INGIniousAuthPage

Displays the scoreboard of the contest

GET_AUTH(courseid)[source]
inginious.frontend.plugins.contests.add_admin_menu(course)[source]

Add a menu for the contest settings in the administration

inginious.frontend.plugins.contests.additional_headers()[source]

Additional HTML headers

inginious.frontend.plugins.contests.course_menu(course, template_helper)[source]

Displays some informations about the contest on the course page

inginious.frontend.plugins.contests.get_contest_data(course)[source]

Returns the settings of the contest for this course

inginious.frontend.plugins.contests.init(plugin_manager, course_factory, client, config)[source]

Init the contest plugin. Available configuration:

{
    "plugin_module": "inginious.frontend.plugins.contests"
}
inginious.frontend.plugins.contests.task_accessibility(course, task, default)[source]

Submodules

inginious.frontend.plugins.contests.contests module