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.33.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

restmapi-1.0.4.33-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: restmapi-1.0.4.33.tar.gz
  • Upload date:
  • Size: 15.4 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.33.tar.gz
Algorithm Hash digest
SHA256 d60af607b34f744022fad6756794e7cb446815302aeb528d448bdf500d944c9b
MD5 131b69d022335e8099c49df4d73c1929
BLAKE2b-256 a8cbfd21bb9cf1cb138ea67b600b06bc8c0dba28aa6c2575e10bdf50f70fb631

See more details on using hashes here.

File details

Details for the file restmapi-1.0.4.33-py3-none-any.whl.

File metadata

  • Download URL: restmapi-1.0.4.33-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for restmapi-1.0.4.33-py3-none-any.whl
Algorithm Hash digest
SHA256 fc84e19cd1b22c9256e662afc3eaafc6b37ee04d6833c8adca4ee299e73d3c2f
MD5 06e3e023094834f29c0f5cfa465834a1
BLAKE2b-256 1243451398e53ea70910ff05b4a8b9813fe9c6adaf2f34fa9e65eef4ade37952

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