unit_grader.config package
Submodules
unit_grader.config.data module
This module contains the conversion data for the conversion calculator.
unit_grader.config.enums module
This module contains the enums used in the conversion data.
- class unit_grader.config.enums.Answer(value)[source]
Bases:
EnumThis enum contains the grading result to a conversion question.
- CORRECT = 'correct'
- INCORRECT = 'incorrect'
- INVALID = 'invalid'
- class unit_grader.config.enums.UnitCategory(value)[source]
Bases:
EnumThis enum contains the categories of units of measure.
- TEMPERATURE = 'temperature'
- VOLUME = 'volume'
Module contents
This file is used to make the config folder a python package.
The config package contains the following
- Modules:
data: Contains the data for unit, conversion, and help instructions.
enums: Contains the enums used in the conversion data.