Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install psphere

How to install psphere

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install psphere
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.5.1
0.5.2Never BuiltWhy not?
0.5.1 Available View build log
0.1.4 Available View build log
Windows (64-bit)
0.5.1
0.5.2Never BuiltWhy not?
0.5.1 Available View build log
0.1.4 Available View build log
Mac OS X (10.5+)
0.5.1
0.5.2Never BuiltWhy not?
0.5.1 Available View build log
0.1.4 Available View build log
Linux (32-bit)
0.5.2 Available View build log
0.5.1 Available View build log
0.1.4 Available View build log
Linux (64-bit)
0.5.2 Available View build log
0.5.1 Available View build log
0.1.4 Available View build log
 
Dependencies
Imports
Lastest release
version 0.5.2 on Apr 16th, 2013

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.

Subscribe to package updates

Last updated Apr 16th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.