Nutanix API
- Work in progress
Easily interact with Nutanix API v3
Installation
pip install nutanix-api
Usage
from nutanix_api import NutanixApiClient, NutanixVM, NutanixCluster
client = NutanixApiClient("username", "password", 9440, "https://path/to/endpoint")
# Virtual Machine
vm = NutanixVM.get(client, "61b13e12-1494-11ed-861d-0242ac120002")
vm.turn_off() # Turn VM off
vm.turn_on() # Turn VM on
# Cluster
cluster = NutanixCluster.get(client, "81b13e12-1494-11ed-861d-0242ac120003")
print(cluster.name)
Metadata
Release files for nutanix-api 0.0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nutanix-api-0.0.20.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nutanix_api-0.0.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / nutanix-api-0.0.20.tar.gz
| Download URL | nutanix-api-0.0.20.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb8f57ccca722097cba17dde51419ee79074aeb1a759b5c2a82089810529742c
|
|
BLAKE2b-256 checksum How to use checksums |
2b3cf0e06c2a5b75357fbd18061c2bdcca7ae3f6004ca47182d9e27732c14e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / nutanix_api-0.0.20-py3-none-any.whl
| Download URL | nutanix_api-0.0.20-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7b4b4691d5782e3047c1d103f4ed37bf010d3dd95ba819d8abd764cc9507e0a
|
|
BLAKE2b-256 checksum How to use checksums |
e7dba8a5abaae5e5be0af33cf85ba6944f5af330e4820b68c2e2797d2e3a078e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|