neoscore.interface.repl

neoscore.interface.repl.running_in_ipython_gui_repl() bool[source]

Check if we are running inside an IPython REPL with the config gui=qt5.

That config can be set either with ipython --gui=qt5 [-i script.py] or by running the IPython magic command %gui qt5.