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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vmwc-1.0.6.tar.gz | 16.1 kB | Without provenance | Details for vmwc-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vmwc-1.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for vmwc-1.0.6-py2.py3-none-any.whl |
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
|
Security for vmwc 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.