maple.utils.misc.daemon_url

maple.utils.misc.daemon_url(port: int)

Construct the daemon API base URL.

Builds the HTTP URL for communicating with the MAPLE daemon API based on the provided port number. The daemon always runs on localhost (0.0.0.0).

Parameters:

port – Port number where the daemon is listening.

Returns:

Full base URL for daemon API requests.