pyVmomi is the Python SDK for the VMware vSphere API that allows you to manipulate ESX, ESXi, and vCenter.
To get started, check out the samples project at http://vmware.github.io/pyvmomi-community-samples/
- community discussion on IRC freenode.net channels #pyvmomi and #pyvmomi-dev
You can install this as a package. The official release is availabe using pip, just run pip install pyvmomi
. To install the version listed here use python setup.py develop
for development install or python setup.py install
. The master is code that is in development, official releases are tagged and posted to pypi.
There are other bindings of this API in other languages. See:
- vijava (Java): http://vijava.sourceforge.net/
- rbvmomi (Ruby): https://github.com/vmware/rbvmomi
- vSphere SDK for Perl (non-free): https://my.vmware.com/group/vmware/details?downloadGroup=VSP510-SDKPERL-510&productId=285
For general language neutral documentation of vSphere Management API see: http://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.wssdk.apiref.doc/right-pane.html
pyVmomi currently supports Python 2.6 and 2.7; support for Python 3.x is currently in progress.
- 5.1.0
- 5.5.0
- Next release in progress 5.5.0_2014.1
- Feature Incubator: pyvmomi-tools
- Samples Project: pyvmomi-community-samples
Have fun!