Metadata-Version: 2.1
Name: pymorpheus
Version: 0.1.5
Summary: Morpheus API wrapper for Python 3
Home-page: UNKNOWN
Author: Nick Celebic
Author-email: nick@celebic.net
License: MIT License
Description: # Morpheus Python Module
        
        [![Documentation Status](https://readthedocs.org/projects/pymorpheus/badge/?version=latest)](https://pymorpheus.readthedocs.io/en/latest/?badge=latest)
        
        ## 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
        
        ```
        from pymorpheus import MorpheusClient
        morpheus = MorpheusClient("https://yoururl", username="youruser", password="yourpass")
        options = [('max', '10')]
        results = morpheus.call("get", "instances", options=options)
        print(results)
        # JSON Output of results
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
