Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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

from pymorpheus import MorpheusClient
morpheus = MorpheusClient("https://yoururl", username="youruser", password="yourpass")
options = [('max', '10')]
results ="get", "instances", options=options)
# 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.

Files for pymorpheus, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size pymorpheus-0.1.5.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page