Skip to main content

VMware vSphere Python SDK

Project description

Build Status Downloads

pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.

Getting Started

To get started, see the getting started guide. You’ll need Python, pip, and the samples project.

Don’t know what pip is? Any serious python developer should know, so here’s a throrough intro to pip that we like.

Installing

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.

Testing

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.

Contributing

Documentation

For general language neutral documentation of vSphere Management API see:

Python Support

  • pyVmomi 6.5 supports 2.7, 3.3, 3.4 and 3.5

  • pyVmomi 6.0.0.2016.4 and later support 2.7, 3.3 and 3.4

  • pyVmomi 6.0.0 and later support 2.7, 3.3 and 3.4

  • pyVmomi 5.5.0-2014.1 and 5.5.0-2014.1.1 support Python 2.6, 2.7, 3.3 and 3.4

  • pyVmomi 5.5.0 and below support Python 2.6 and 2.7

Compatibility Policy

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.

Project details


Download files

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

Source Distribution

pyvmomi-6.5.0.2017.5-1.tar.gz (252.1 kB view details)

Uploaded Source

File details

Details for the file pyvmomi-6.5.0.2017.5-1.tar.gz.

File metadata

File hashes

Hashes for pyvmomi-6.5.0.2017.5-1.tar.gz
Algorithm Hash digest
SHA256 c28292594281901e894c39a0c06b4126a9c019b3d804c47fb116472299dbb42d
MD5 50c2c7945a463c7c94e24c2308232974
BLAKE2b-256 958240f8c37a4c5264a2d581c24eb5f191cbdfe7f574d4013180edc84bbbf401

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page