Skip to main content

Morpheus API wrapper for Python 3

Project description

Morpheus Python Module

Documentation Status


pip install pymorpheus


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. 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

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

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

pymorpheus-0.1.6.tar.gz (3.7 kB view hashes)

Uploaded source

Built Distribution

pymorpheus-0.1.6-py3-none-any.whl (4.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page