megaqc.api package¶
Submodules¶
megaqc.api.constants module¶
megaqc.api.utils module¶
-
megaqc.api.utils.
generate_comparison_plot
(plot_data, data_keys, field_names=None, pointsize=10, joinmarkers=False)[source]¶
-
megaqc.api.utils.
get_dashboard_data
(user, dashboard_id)[source]¶ Fetch a dashboard by ID and return the data.
-
megaqc.api.utils.
get_favourite_plot_data
(user, favourite_id)[source]¶ Fetch a plot favourite by ID and return the HTML to generate the plot.
-
megaqc.api.utils.
get_plot_favourites
(user)[source]¶ Return a list of the plot favourites for the given user.
-
megaqc.api.utils.
save_dashboard_data
(user, title, data, is_public=False, dashboard_id=None)[source]¶ Save a dashboard.
megaqc.api.views module¶
Public section, including homepage and signup.
Module contents¶
The user module.