Develop for XenServer

Getting Started with Python

The XenServer-SDK directory contains the following folders that are relevant to Python developers:

  • XenServerPython: This directory contains the XenServer Python module

Alternative installation:

The Python module is also available as a package on PyPi. To install the package, enable the virtual environment where it will be used and run

pip install XenAPI

RPC protocol:

The Python module supports the XML-RPC protocol.

Platform supported:

  • Linux
  • Windows




  • xmlrpclib


Examples on the usage of the XenServer Powershell module can be found at usage examples on GitHub.

Getting Started with Python

In this article