Previous page

Next page

Locate page in Contents

Print this page

Package and Modules

The following table lists the package and the modules comprising the Parallels Python API.

prlsdkapi

This is the main package containing the majority of the classes.

prlsdkapi.prlsdk

This module contains base classes. All of the classes from the prlsdkapi package (above) are derived from the base classes defined here.

prlsdkapi.prlsdk.consts

This module contains constants that are used throughout the API. Most of the constants are combined into groups which are used as pseudo enumerations. Constants that belong to the same group have the same prefix in their names.  For example, constants with a PDE_ prefix identify device types: PDE_GENERIC_DEVICE, PDE_HARD_DISK, PDE_GENERIC_NETWORK_ADAPTER , etc.

In this guide, and in the Parallels Python API Reference guide, we identify individual groups of constants using these prefixes. For example, we might say, "for the complete list of device types, see the PDE_xxx constants".

prlsdkapi.prlsdk.errors

This module contains error code constants.

The Parallels Python package is installed automatically during the Parallels Virtualization SDK installation and is placed into the default Python directory for site-packages.

Please send us your feedback on this help page