Skip to main content

CLI gateway that converts VMware ESXi SOAP API calls into simple shell commands

Project description

esxi-gateway

CLI gateway that converts VMware ESXi / vSphere SOAP API calls into simple shell commands.

pip install esxi-gateway

Quick start

# Set credentials via environment variables
export ESXI_HOST=192.168.1.10
export ESXI_USER=root
export ESXI_PASSWORD=secret
export ESXI_NO_VERIFY=1  # for self-signed certs

# Run commands
esxi-gateway vm list
esxi-gateway vm start "my-vm"
esxi-gateway vm info "my-vm"
esxi-gateway datastore list
esxi-gateway host info

Or pass credentials directly:

esxi-gateway --host 192.168.1.10 --user root --password secret --no-verify vm list

Commands

Command Description
vm list List all VMs
vm info <name> Show VM details
vm start/stop/suspend/reset/reboot <name> Power operations
vm snapshot list/create/revert/remove Snapshot management
host list List all hosts
host info [name] Show host details
datastore list List all datastores
datastore info <name> Show datastore details
network list List all networks

Use --json on any command for structured output.

See CLAUDE.md for the full command reference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esxi_gateway-0.2.1.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esxi_gateway-0.2.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file esxi_gateway-0.2.1.tar.gz.

File metadata

  • Download URL: esxi_gateway-0.2.1.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for esxi_gateway-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8c67ef775e0202e9b0b2ef9758a0480e8584e6b63a4f0b154dd006f2d2025991
MD5 d162a3d190508b03b6b0057f832d9784
BLAKE2b-256 3917c6a644e5e533b6e99c2930427eb5ea7cc4e33d751a5c389652b00efa7c1e

See more details on using hashes here.

File details

Details for the file esxi_gateway-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: esxi_gateway-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for esxi_gateway-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bec719d18d857869afd4c35f4cfd8e02cc23563a0efb9c383c65aaabe1fdd9fc
MD5 32674b4ab712738073a61c908cea92a7
BLAKE2b-256 670c0da7f60565f33d89b6e8613ff35917c6ca219aa3be335d2b449370698199

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page