Morpheus Python Module
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
- options: list of tuples eg.
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
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pymorpheus-0.1.6.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for pymorpheus 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.