pyDEA package¶
Subpackages¶
- pyDEA.core package
- Subpackages
- pyDEA.core.data_processing package
- Submodules
- pyDEA.core.data_processing.input_data module
- pyDEA.core.data_processing.parameters module
- pyDEA.core.data_processing.read_data_from_xls module
- pyDEA.core.data_processing.save_data_to_file module
- pyDEA.core.data_processing.solution module
- pyDEA.core.data_processing.solution_text_writer module
- pyDEA.core.data_processing.targets_and_slacks module
- pyDEA.core.data_processing.write_data_to_xls module
- pyDEA.core.data_processing.xlsx_workbook module
- Module contents
- pyDEA.core.gui_modules package
- Submodules
- pyDEA.core.gui_modules.categories_checkbox_gui module
- pyDEA.core.gui_modules.custom_canvas_gui module
- pyDEA.core.gui_modules.data_frame_gui module
- pyDEA.core.gui_modules.data_tab_frame_gui module
- pyDEA.core.gui_modules.load_xls_gui module
- pyDEA.core.gui_modules.navigation_frame_gui module
- pyDEA.core.gui_modules.options_frame_gui module
- pyDEA.core.gui_modules.params_frame_gui module
- pyDEA.core.gui_modules.scrollable_frame_gui module
- pyDEA.core.gui_modules.solution_frame_gui module
- pyDEA.core.gui_modules.solution_tab_frame_gui module
- pyDEA.core.gui_modules.table_gui module
- pyDEA.core.gui_modules.table_modifier_gui module
- pyDEA.core.gui_modules.text_for_weights_gui module
- pyDEA.core.gui_modules.text_frame_gui module
- pyDEA.core.gui_modules.weight_frame_gui module
- Module contents
- pyDEA.core.models package
- Submodules
- pyDEA.core.models.bound_generators module
- pyDEA.core.models.categorical_dmus module
- pyDEA.core.models.envelopment_model module
- pyDEA.core.models.envelopment_model_base module
- pyDEA.core.models.envelopment_model_decorators module
- pyDEA.core.models.input_output_model_bases module
- pyDEA.core.models.maximize_slacks module
- pyDEA.core.models.model_base module
- pyDEA.core.models.model_progress_bar_decorator module
- pyDEA.core.models.multiplier_model module
- pyDEA.core.models.multiplier_model_base module
- pyDEA.core.models.multiplier_model_decorators module
- pyDEA.core.models.peel_the_onion module
- pyDEA.core.models.super_efficiency_model module
- Module contents
- pyDEA.core.utils package
- pyDEA.core.data_processing package
- Module contents
- Subpackages
Submodules¶
pyDEA.main module¶
This module contains methods for running pyDEA from terminal.
-
pyDEA.main.
main
(filename, output_format='xlsx', output_dir='', sheet_name_usr='')[source]¶ Main function to run DEA models from terminal.
Parameters: - filename (str) – path to file with parameters.
- output_format (str, optional) – file format of solution file. This value is used only if OUTPUT_FILE in parameters is empty or set to auto. Defaults to xlsx.
- output_dir (str, optional) – directory where solution must be written. If it is not given, solution will be written to current folder. This value is used only if OUTPUT_FILE in parameters is empty or set to auto.
- sheet_name_usr (str, optional) – name of the sheet in xls- or xlsx-file with input data from which data will be read. If input data file is in csv format, this value is ignored.
pyDEA.main_gui module¶
This module should be used for running application GUI.
-
class
pyDEA.main_gui.
MainFrame
(parent, *args, **kwargs)[source]¶ Bases:
tkinter.ttk.Frame
This class implements main GUI of the application.
-
parent
¶ Tk object
parent of this frame (Tk()).
-
params_frame
¶ ParamsFrame
frame with parameters.
-
data_frame
¶ DataFrame
frame with data and solution.
-
progress_bar
¶ Progressbar
progress bar widget.
-
increment
¶ int
progress bar increment, it is modified in other classes that are responsible for solving the problem and update progress.
-
weights_status_lbl
¶ Label
label that displays if weight restrictions are feasible.
-
weights_status_str
¶ StringVar
StringVar object used for tracking if weight restrictions are feasible.
-
current_categories
¶ list of str
list of current categories.
Parameters: parent (Tk object) – parent of this frame (Tk()). -
construct_categories
()[source]¶ Returns current categories.
Returns: list of current categories Return type: (list of str)
-