Methods

Summary

method

class parent

truncated documentation

__init__

LightMLBoard

Constructor. See wep.py.

__init__

Competition

__init__

Database

__init__

DatabaseCompetition

__init__

CompetitionHandler

Constructor.

__init__

LoginHandler

Expected additional parameters:

__init__

LogoutHandler

Expected additional parameters:

__init__

MainHandler

Constructor.

__init__

SubmitForm

Constructor.

__init__

UploadData

Constructor.

__init__

_BaseRequestHandler

Constructor. See web.py.

__init__

_TemplateHandler

Constructor. See web.py.

_check_connection

Database

Check the SQL connection.

_init

DatabaseCompetition

Creates the tables if not present.

_is_memory

Database

Tells if the database takes place in memory (:memory:).

_load_values

Competition

Converts values into a list of list of values, one per metrics.

_process_kwargs

CompetitionHandler

Separates attributes templates / tornado.

_process_kwargs

LoginHandler

Separates attributes templates / tornado.

_process_kwargs

LogoutHandler

Separates attributes templates / tornado.

_process_kwargs

MainHandler

Separates attributes templates / tornado.

_process_kwargs

SubmitForm

Separates attributes templates / tornado.

_process_kwargs

UploadData

Separates attributes templates / tornado.

_process_kwargs

_TemplateHandler

Separates attributes templates / tornado.

close

Database

Close the database.

commit

Database

Call this function after any insert request.

connect

Database

Opens a connection to the database.

create_table

Database

Creates a table.

evaluate

Competition

Evaluates received values.

evaluate_metric

Competition

Evaluates a metric.

execute

Database

Open a cursor with a query and return it to the user.

get

CompetitionHandler

Returns the content page.

get

LogoutHandler

Page.

get

MainHandler

Returns the content page.

get

SubmitForm

Returns the content page.

get

UploadData

Returns the content page.

get

_TemplateHandler

Returns the content page.

get_competition

DatabaseCompetition

Retrieves a competition.

get_competitions

DatabaseCompetition

Returns the list of competitions as list of (cpt_id, cpt_name).

get_cpt_id

DatabaseCompetition

Returns the list of competation id.

get_current_user

CompetitionHandler

Returns the current user.

get_current_user

LoginHandler

Returns the current user.

get_current_user

LogoutHandler

Returns the current user.

get_current_user

MainHandler

Returns the current user.

get_current_user

SubmitForm

Returns the current user.

get_current_user

UploadData

Returns the current user.

get_current_user

_BaseRequestHandler

Returns the current user.

get_current_user

_TemplateHandler

Returns the current user.

get_file

Database

Returns the file name.

get_player_id

DatabaseCompetition

Returns the list of competation id.

get_results

DatabaseCompetition

Retrieves the results of a competition.

get_table_list

Database

Returns the list of tables.

has_rows

Database

Tells if a table has rows.

info

CompetitionHandler

Log information.

info

LoginHandler

Log information.

info

LogoutHandler

Log information.

info

MainHandler

Log information.

info

SubmitForm

Log information.

info

UploadData

Log information.

info

_BaseRequestHandler

Log information.

info

_TemplateHandler

Log information.

init_from_options

DatabaseCompetition

Initializes the database. It skips a table if it exists.

set_current_user

LoginHandler

Sets the current user or clear the cookie if None.

submit

DatabaseCompetition

Adds a submission to the database.

to_df

DatabaseCompetition

Returns the content of a table as a dataframe.

to_dict

Competition

Convert a competition into a dictionary.