Skip to main content

MORPHEE REST API SDK

Project description

REST MAPI Package

REST MAPI (MORPHEE API) package allows to control MORPHEE at runtime using MORPHEE REST API. MAPI main principle is to provide so called MAPI services. From MAPI, you should first ask for a specific service before using it.

:information_source: Each service has access rights that could be set in UEditor.

Install

To install restmapi pyhton module, run:

pip install restmapi

Example

Here a small example to start MORPHEE using REST MAPI.

from restmapi.services import MAPIServices

with MAPIServices.instance.get_service("MorpheeProcessControl") as morphee_process_control:
	if morphee_process_control.is_morphee_process_started() != True:
		morphee_process_control.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

restmapi-1.0.4.11.tar.gz (13.8 kB view details)

Uploaded Source

File details

Details for the file restmapi-1.0.4.11.tar.gz.

File metadata

  • Download URL: restmapi-1.0.4.11.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for restmapi-1.0.4.11.tar.gz
Algorithm Hash digest
SHA256 5762594efac14d3442d1846d18c275ca9e59a148903e4278024228c3e10d6268
MD5 1be570c614cff121845bee1ea33039f5
BLAKE2b-256 976d397caf3eafc29778f8db8e62bb1d8d9b9af471eab490dbc7877c24e4a693

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page