mri.utilities package¶
mri.utilities.cd module¶
-
class
mri.utilities.cd.
cd
(newPath)¶ Bases:
future.types.newobject.newobject
Context manager for changing the current working directory
mri.utilities.send_request module¶
-
mri.utilities.send_request.
send_request
(address, protocol, data, auth)¶ Send an HTTP request
Parameters: - address (string) – Full address for this request
- protocol (string) – HTTP protocol request to make
- data (dict) – JSON object of data to pass in the request
- auth (tuple) – (username, pass) for server
Returns: result – Response from the server, includes response code, encoding, and text
Return type: requests.Response
mri.utilities.server_consts module¶
Contains the constants for the mri-server. These shouldn’t be user-changable but should be editable in source just in case