ProgServer#

prog_server.is_running()#

Check if the server is running.

prog_server.run(**kwargs)#

Start the server and block until it is stopped.

Parameters
  • host (str, optional) – Server host. Defaults to ‘127.0.0.1’.

  • port (int, optional) – Server port. Defaults to 5000.

  • debug (bool, optional) – If the server is started in debug mode

prog_server.start(**kwargs)#

Start the server (not blocking).

Parameters
  • host (str, optional) – Server host. Defaults to ‘127.0.0.1’.

  • port (int, optional) – Server port. Defaults to 5000.

  • debug (bool, optional) – If the server is started in debug mode

prog_server.stop()#

Stop the server.