Other sources¶
Controller¶
Uses to connect the UI with the Core
- class odin.source.controller.Controller(ui: callable(QMainWindow), parent: Optional[QApplication] = None)¶
UI Controller.
Common¶
Common methods used anywhere
Logger¶
Note
Logger is still in development and will be upgraded to be used like an API.
- class odin.source.logger.StreamToLogger(logger, stream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, log_level=20)¶
Fake file-like stream object that redirects writes to a logger instance.
- odin.source.logger.log(name: str) logging.Logger¶
- Parameters
name (str) – name to the log
- Returns
Logger object to interact with the logger
- Return type
logging.Logger