orb.core_ui.app_common module

class orb.core_ui.app_common.AppCommon(**kwargs)

Bases: MDApp

consumables = deque([])
get_application_config(defaultpath='~/orb.ini')

Get location of the orb.ini file. This may differ from one OS to the next.

load_kvs()

Compile all the kvs into an orb/core_ui/kvs.py file. This greatly simplifies deployment.

override_stdout()

Override stdout, so the standard ‘print’ command goes to Orb’s console.

orb.core_ui.app_common.orig_stdout(text, /)

Write string to stream. Returns the number of characters written (which is always equal to the length of the string).