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

Python wrapper for Qemu

Project description

What is it?

PyQemu is a Python wrapper around… Qemu.

Why would I want that?

Because you might want to script operations involving qemu virtual machines, perhaps for testing purposes.

What is Qemu?

If you don’t know, then you probably don’t need this, but see for further details.

Why did you write PyQemu?

Because I liked Microsoft’s Virtual Server, and to a lesser extent VMWare and wanted something similar that could work in an entirely open-source environment (open source OS, open source virtualisation, not necessarily open source virtual machine), yet still give me a good automation interface.

How do I use PyQemu?

Step 1) Create an XML file with the descriptions of the virtual machines you want to manage (see qserver.xml for a commented example).

Step 2) Have a look at the simple example (

Step 3) Write some client code to control the virtual machines (see the examples directory).


Python v2.4 ( Pyro, Python Remote Objects v3.5, ( PIL, Python Imaging Library v1.1.5 ( Qemu v0.8.2 ( TightVNC v1.2.9. ( For viewing virtual machines. USPP v1.0 ( For
Additionally the examples require:
Medusa v0.5.4 ( TightVNC Java Viewer v1.3.8 (

Project details

Release history Release notifications

This version


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