"""Package entrypoint for pybusmonitor1553.

Running `python -m pybusmonitor1553` will start the Tkinter monitor GUI.
"""
def main():
    try:
        from pybusmonitor1553.gui.monitor import main as gui_main
    except Exception:
        # fallback if run as package where imports differ
        from pybusmonitor1553.gui.monitor import main as gui_main
    gui_main()

if __name__ == '__main__':
    main()
