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

Download files

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

Source Distribution

vmwc-1.0.6.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vmwc-1.0.6-py2.py3-none-any.whl (13.9 kB view details)

Uploaded Python 2Python 3

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

Hashes for vmwc-1.0.6.tar.gz
Algorithm Hash digest
SHA256 a475d781f961b46e0d78e8689650e9048eacd569ed3d270f248c73f8ff614864
MD5 f23dc703fec483edd9df01b0f01a4331
BLAKE2b-256 06c19f7c334d20c716091d0e2c99fe25eb394c7ffcb01f91ad8e3268c3f9b51f

See more details on using hashes here.

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

Hashes for vmwc-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5f04f31a63070372e34044e2b5a9f7e7827d90be2c1eb40d25ef5847ba32171c
MD5 d6256bf65d6bcd1f304436fd152f6e5d
BLAKE2b-256 54d820058992baa51087fc4b3a7e74527c799c25fc939dc3e5bc5a2a7fb2db75

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page