Util

bosdyn.client.util.cli_login_prompt(username=None, password=None)[source]

Interactive CLI for scripting conveniences.

bosdyn.client.util.cli_auth(robot, username=None, password=None)[source]

Interactive CLI for authenticating with the robot.

bosdyn.client.util.setup_logging(verbose=False)[source]

Setup a basic streaming console handler at the root logger.

Parameters

verbose – if False (default) show messages at INFO level and above, if True show messages at DEBUG level and above.

bosdyn.client.util.get_logger()[source]
bosdyn.client.util.default_app_token_path()[source]

Returns a default app-token path, if a sensible option exists. Otherwise, returns None.

bosdyn.client.util.add_common_arguments(parser)[source]

Add arguments common to most applications.

Parameters

parser – argument parser object.