Skip to main content
https://user-images.githubusercontent.com/1287098/28493843-b889ce8e-6f26-11e7-97ec-cc180a760051.png

Simplified VMWare API client for Python

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

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

Metadata

Release files for vmwc 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vmwc 1.0.6
File Size Uploaded
vmwc-1.0.6.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vmwc 1.0.6
File Interpreter ABI Platform
vmwc-1.0.6-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 30.0 kB

Release files / vmwc-1.0.6.tar.gz

Download URL vmwc-1.0.6.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a475d781f961b46e0d78e8689650e9048eacd569ed3d270f248c73f8ff614864
BLAKE2b-256 checksum
How to use checksums
06c19f7c334d20c716091d0e2c99fe25eb394c7ffcb01f91ad8e3268c3f9b51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / vmwc-1.0.6-py2.py3-none-any.whl

Download URL vmwc-1.0.6-py2.py3-none-any.whl
Size 13.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5f04f31a63070372e34044e2b5a9f7e7827d90be2c1eb40d25ef5847ba32171c
BLAKE2b-256 checksum
How to use checksums
54d820058992baa51087fc4b3a7e74527c799c25fc939dc3e5bc5a2a7fb2db75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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