Skip to main content

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)

Source distribution for nutanix-api 0.0.20
File Size Uploaded Provenance Actions
nutanix-api-0.0.20.tar.gz 8.9 kB Without provenance Details for nutanix-api-0.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nutanix-api 0.0.20
File Interpreter ABI Platform Actions
nutanix_api-0.0.20-py3-none-any.whl Python 3 none any Details for nutanix_api-0.0.20-py3-none-any.whl

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

Security for nutanix-api 0.0.20

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page