ocrd_network.client_utils module
-
ocrd_network.client_utils.poll_job_status_till_timeout_fail_or_success(ps_server_host: str, job_id: str, tries: int, wait: int) → JobState[source]
-
ocrd_network.client_utils.poll_wf_status_till_timeout_fail_or_success(ps_server_host: str, job_id: str, tries: int, wait: int) → JobState[source]
-
ocrd_network.client_utils.get_ps_deployed_processors(ps_server_host: str)[source]
-
ocrd_network.client_utils.get_ps_deployed_processor_ocrd_tool(ps_server_host: str, processor_name: str)[source]
-
ocrd_network.client_utils.get_ps_processing_job_log(ps_server_host: str, processing_job_id: str)[source]
-
ocrd_network.client_utils.get_ps_processing_job_status(ps_server_host: str, processing_job_id: str) → str[source]
-
ocrd_network.client_utils.get_ps_workflow_job_status(ps_server_host: str, workflow_job_id: str) → str[source]
-
ocrd_network.client_utils.post_ps_processing_request(ps_server_host: str, processor: str, job_input: dict) → str[source]
-
ocrd_network.client_utils.post_ps_workflow_request(ps_server_host: str, path_to_wf: str, path_to_mets: str) → str[source]
-
ocrd_network.client_utils.verify_server_protocol(address: str)[source]