Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

vSphere SDK for Python

Project description

Introduction

psphere is a Python interface for the VMware vSphere Web Services SDK, a powerful API for programatically managing your VMware infrastructure:

  • Provision, clone and snapshot virtual machines
  • Query and configure clusters, host systems and datastores
  • Programatically configure ESXi hosts (i.e. for automation)

psphere can be used to create standalone Python scripts or used as a library in larger Python applications (e.g. Django).

Usage

>>> from psphere.client import Client
>>> client = Client("your.esxserver.com", "Administrator", "strongpass")
>>> servertime = client.si.CurrentTime()
>>> print(servertime)
2010-09-04 18:35:12.062575
>>> client.logout()

Installation

The latest stable version of psphere can be installed from PyPi:

# pip install -U psphere

Community

Discussion and support can be found on the psphere Google Group.

Project details


Download files

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

Files for psphere, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size psphere-0.5.2-py2.7.egg (173.4 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size psphere-0.5.2.tar.gz (161.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page