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, first ensure that you are connected to our devops feed by adding in your %HOMEDRIVE%%HOMEPATH%\pip directory pip.ini as follow:

[global]
index-url=https://pkgs.dev.azure.com/STS-Software/MORPHEE/_packaging/FEV-MORPHEE-Feed/pypi/simple/
extra-index-url= https://pkgs.dev.azure.com/STS-Software/_packaging/STS-Azure-Feed/pypi/simple/
				 https://pypi.org/simple

Then to install the 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()

Internal information

Project source location: Project internal source location

Jira issues: MORPHEE Jira project

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

restmapi-1.0.4.4-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for restmapi-1.0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d03bb6e8ea906d4e9433a463f9529778a266ea6420ee28bf020e8e95ae856598
MD5 76fba31e5445dc56758d4aa3bd5ab2a2
BLAKE2b-256 ccb3b755247e76e8b294e151402f8f8e2ce4809335974d12ff187ce19752d45c

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