pygra.main

main.py — CLI entry point for PyGRA. Handles –help before importing PyQt5 so it works without a display.

pygra.main.main()[source]

Entry point for the pygra command-line interface.

Parses sys.argv, creates the Qt application and MainWindow, optionally restores a saved session or pre-loads data files, then starts the Qt event loop.