Skip to main content

Morpheus Python Module

Documentation Status

Installation

pip install pymorpheus

Usage

MorpheusClient() will either retrieve a token (with username and password args), or use an existing token (with token arg) Use sslverify=False to bypass certificate validation.

MorpheusClient.call() accepts the following vars:

  • Required (positional):
    • method: one of string: get, post, put, delete
    • path: api call path after /api/
  • Optional:
    • options: list of tuples eg. [('max','50')]
    • jsonpayload: JSON string of payload for POST/PUT methods

Reference at https://bertramdev.github.io/morpheus-apidoc

morpheus = MorpheusClient("https://yoururl", username="youruser", password="yourpass")
results = morpheus.call("get", path="instances")
print(results)
# JSON Output of results

Release files for pymorpheus 0.1.6

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

Source distribution (sdist)

Source distribution for pymorpheus 0.1.6
File Size Uploaded
pymorpheus-0.1.6.tar.gz 3.7 kB Details

Built distribution (wheel)

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

Total release size: 7.9 kB

Release files / pymorpheus-0.1.6.tar.gz

Download URL pymorpheus-0.1.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d85659ce1fe045874939bb02a635bbf27089c5c69957c5b4d10d5f34decd343d
BLAKE2b-256 checksum
How to use checksums
37644962c6d37304524f020a6951da5c6660f592b8e174de9f75c1ccbc8384cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.13

Release files / pymorpheus-0.1.6-py3-none-any.whl

Download URL pymorpheus-0.1.6-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3758d78e836103e349169597681a41e0a5ee69783f198e88dcedd054d39345ed
BLAKE2b-256 checksum
How to use checksums
a55f0e6edca7927ba8d031f2a5b24e1a9030a2c97371fba232b07f98b1204b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

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