Skip to main content

A simple library for controlling VMware vSphere servers.

Project description

Build Status Downloads

pyvmlib

A simple library for controlling VMware vCenter / ESXi servers.

This library wraps up pyvmomi into something a little more friendly.

To use, create a Connection object and call methods on it. e.g.

with Connection(HOST, USER, PASS) as conn:
    for dev in conn.list_usb_devices_on_guest(VM_NAME):
        print("Got dev: {}".format(dev))

If your host has a self-signed certificate, set the ignore_ssl_error argument to True

with Connection(INSECURE_HOST, USER, PASS, ignore_ssl_error=True) as conn:
    for dev in conn.list_usb_devices_on_guest(VM_NAME):
        print("Got dev: {}".format(dev))

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

pyvmlib-2.4.1.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

pyvmlib-2.4.1-py2.py3-none-any.whl (16.6 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