VMware vSphere Python SDK
pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.
- community discussion on IRC freenode.net channels #pyvmomi and #pyvmomi-dev
- community email is on nabble
Don’t know what pip is? Any serious python developer should know, so here’s a throrough intro to pip that we like.
The master is code that is in development, official releases are tagged and posted to pypi
- The official release is available using pip, just run pip install --upgrade pyvmomi.
- To install the version in github use python setup.py develop for development install or python setup.py install.
- To install github’s version with sso support, just run pip install -e .[sso] inside project’s home folder.
Unit tests can be invoked by using the tox command. You may have to configure multiple python interpreters so that you can test in all the environments listed in tox.ini or you will have to run tox with the -e flag to run only in your version of python. For example, if you only have Python 2.7 then tox -e py27 will limit your test run to Python 2.7.
For general language neutral documentation of vSphere Management API see:
- pyVmomi supports 2.7.x and 3.3+
Note: python2 is deprecated from 01/2020 https://www.python.org/doc/sunset-python-2/. Please switch to Python3
pyVmomi versions are marked vSphere_version-release . Pyvmomi maintains minimum backward compatibility with the previous _four_ releases of vSphere and it’s own previous four releases. Compatibility with much older versions may continue to work but will not be actively supported.
For example, version v6.0.0 is most compatible with vSphere 6.0, 5.5, 5.1 and 5.0. Initial releases compatible with a version of vSphere will bare a naked version number of v6.0.0 indicating that version of pyVmomi was released simultaneously with the GA version of vSphere with the same version number.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyvmomi-7.0.1.tar.gz (584.6 kB)||File type Source||Python version None||Upload date||Hashes View|