Skip to main content

The libvirt virtualization API

Project description

Libvirt Python Binding README
=============================

This package provides a python binding to the libvirt.so,
libvirt-qemu.so and libvirt-lxc.so library APIs.

It is written to build against any version of libvirt that
is 0.9.11 or newer.

This code is distributed under the terms of the LGPL version
2 or later.

The module can be built by following the normal python module
build process

python setup.py build
sudo python setup.py install

or to install as non-root

python setup.py build
python setup.py install --user

If python-nose is installed, you can test the package with

python setup.py test

A makefile shim is provided so that you can do

make && make check

rather than directly invoking setup.py.

As of libvirt 1.2.6, it is possible to develop against an uninstalled
libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
environment variables to point into that libvirt tree; you can even
automate this by using libvirt's run script:

/path/to/libvirt/run python setup.py build

Patches for this code should be sent to the main libvirt
development mailing list

http://libvirt.org/contact.html#email

To send patches, it is strongly recommended to use the
'git send-email' command.

Make sure the mails mention that the patch is for the python
binding. This can be done by setting a config parameter in the
local git checkout

git config format.subjectprefix "PATCH python"

Project details


Release history Release notifications | RSS feed

This version

2.4.0

Download files

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

Source Distribution

libvirt-python-2.4.0.tar.gz (171.8 kB view details)

Uploaded Source

File details

Details for the file libvirt-python-2.4.0.tar.gz.

File metadata

File hashes

Hashes for libvirt-python-2.4.0.tar.gz
Algorithm Hash digest
SHA256 aa087cca41f50296306baa13366948339b875fd722fc4b92a484484cd881120c
MD5 6ab78a1447c8aa651d416e531f6b8e87
BLAKE2b-256 ddaf9919e80b6d90b3819ddecde01064bb591719c9e3c9dcd2a82d014c03655b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page