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.15.tar.gz (13.8 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.15-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: restmapi-1.0.4.15.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.15.tar.gz
Algorithm Hash digest
SHA256 765b9560a6eac50d56de78eab98e901bdfca3a0144d2cf6590f3c446c021a01c
MD5 3fbf7ae25d64f140190e7bdf77e4f9d3
BLAKE2b-256 feeb2571c5b8a0084e504d062d7acbcb0215a466324926e9d4447a22f6578c07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: restmapi-1.0.4.15-py3-none-any.whl
  • Upload date:
  • Size: 13.7 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 46db83f96f0c6b11e7626c400e9e4d0eaa60c0474eb5e22b43191342f785d20d
MD5 6b988006fef18355aa15103f825ee627
BLAKE2b-256 31fe12c7048d7dd709e8de5368a474d5d8bc61fcd254f582d65ea1566f8d694b

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