Skip to main content

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.

ℹ️ 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()

Documentation

You can find the full documentation (here)

Metadata

Release files for restmapi 1.0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for restmapi 1.0.7.0
File Size Uploaded
restmapi-1.0.7.0.tar.gz 17.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for restmapi 1.0.7.0
File Interpreter ABI Platform
restmapi-1.0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.9 kB

Release files / restmapi-1.0.7.0.tar.gz

Download URL restmapi-1.0.7.0.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8b1bc7a83b63a8ded2f2215080329cd4d044b44e8c2c110811ceec6443e734da
BLAKE2b-256 checksum
How to use checksums
128d933255d63c81b5b0e61ec69a36d5a95edb77f1f87703e034490bb85a0d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / restmapi-1.0.7.0-py3-none-any.whl

Download URL restmapi-1.0.7.0-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d396b61c88b73b8e7c6e462e3b18ff4937a058e2fe0882b20480c37b17ecf49
BLAKE2b-256 checksum
How to use checksums
054c8d3ea263be5ba73be3f941efe3035841a1129d8118c8af9086b1cdb15cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page