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.24.tar.gz (15.2 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.24-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: restmapi-1.0.4.24.tar.gz
  • Upload date:
  • Size: 15.2 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.24.tar.gz
Algorithm Hash digest
SHA256 81fbc99a6a247c4eeec9b3c82b9411677940b2d80763fe8cacfb93d4e943bf27
MD5 bb27df5c9934d1f4167ca3170901923e
BLAKE2b-256 63991aaa37b8df8ef4fd60153be0eeb3e220e6987acdb9f88e0190bd67d016ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: restmapi-1.0.4.24-py3-none-any.whl
  • Upload date:
  • Size: 15.1 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.24-py3-none-any.whl
Algorithm Hash digest
SHA256 5fd6978635dc7e619028fd4cd39a5dfd08abe1ccfed05b0da49d4dd2d52ff4c7
MD5 5e1c60794f37273882ad4218c233b750
BLAKE2b-256 be52170b4c2e62faff099c709c25becee5b18b090badd73687cb12a23127ea5b

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