Skip to main content

VMWare python client

Project description

https://cloud.githubusercontent.com/assets/1287098/23579240/b873ab2a-00f1-11e7-99f0-2d31b0f0e1e0.png

Simplified VMWare API client for Python

vmwc is designed to be the simplest way possible to use VMWare’s API

from vmwc import VMWareClient

host = '192.168.1.1'
username = '<username>'
password = '<password>'

with VMWareClient(host, username, password) as client:
    for vm in client.get_virtual_machines():
        vm.power_on()

Installation

pip install vmwc

Examples

History

When I searched for a library to write automation scripts to control my esxi environment, I bumped into pyvmomi . My first impression was “It’s too low-level and the general Development Experience doesn’t feel easy to use”. Therefore, on me break time, I wrote vmwc on the base of pyvmomi to provide a lighter, TL;DR feeling and straight-forward API.

Remarks

vmwc was developed to control a single esxi machine at a time. However, it should work with vcenter instances as well

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vmwc-0.0.3-py2.py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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