pyVmomi

pyVmomi is an open-source Python binding for several vSphere SOAP-based APIs.
The pyVmomi package provides a convenience layer on top of the core VIM API and the following related extension APIs that use the SOAP/XML protocol:
  • ESX Agent Manager
  • Storage Policy API
  • Storage Monitoring Service (SMS)
pyVmomi is notable for:
  • Simplified approach to connection, authentication, and retrieval of the ServiceContent object
  • Module to handle client-server synchronization and asynchronous task tracking
  • Convenient retrieval of managed object properties
  • Facility to interface with vCenter Single Sign-On
For more information about using the pyVmomi, see the following documentation: