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.

  • To install github’s version with sso support, just run pip install -e .[sso] inside project’s home folder.

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 supports 2.7.x and 3.4+

Note: python2 is deprecated from 01/2020 https://www.python.org/doc/sunset-python-2/. Please switch to Python3

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-7.0.2.tar.gz (589.6 kB view details)

Uploaded Source

File details

Details for the file pyvmomi-7.0.2.tar.gz.

File metadata

  • Download URL: pyvmomi-7.0.2.tar.gz
  • Upload date:
  • Size: 589.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for pyvmomi-7.0.2.tar.gz
Algorithm Hash digest
SHA256 abf64d7c2ea863ad869bcd38dda9054988839da1f07a292d9e866cb643e43b04
MD5 b18f40beb2d5bd55a086be094f562d18
BLAKE2b-256 daec38044d41138a687930687f6b990c9dfe8d863dfcbae3ea16f346d3a78131

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