VMWare python client
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vmwc-1.0.6.tar.gz
.
File metadata
- Download URL: vmwc-1.0.6.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a475d781f961b46e0d78e8689650e9048eacd569ed3d270f248c73f8ff614864 |
|
MD5 | f23dc703fec483edd9df01b0f01a4331 |
|
BLAKE2b-256 | 06c19f7c334d20c716091d0e2c99fe25eb394c7ffcb01f91ad8e3268c3f9b51f |
File details
Details for the file vmwc-1.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: vmwc-1.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f04f31a63070372e34044e2b5a9f7e7827d90be2c1eb40d25ef5847ba32171c |
|
MD5 | d6256bf65d6bcd1f304436fd152f6e5d |
|
BLAKE2b-256 | 54d820058992baa51087fc4b3a7e74527c799c25fc939dc3e5bc5a2a7fb2db75 |