1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 16:25:10 +03:00
Python language binding for libvirt native C API
Go to file
Daniel P. Berrange 084729e269 Optimize callback lookup in event handlers
The event handler code currently invokes PyImport_ImportModule
which is very heavyweight. This is not in fact required, since
we know the libvirt module has already been imported. We can
thus use PyImport_ImportModuleNoBlock and do away with the
global variables caching the imported module reference.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-12-04 17:07:13 +00:00
examples Remove obsolete Makefile.am 2013-11-22 15:58:05 +00:00
.gitignore Setup distutils build system 2013-11-22 15:58:06 +00:00
AUTHORS.in Setup distutils build system 2013-11-22 15:58:06 +00:00
autobuild.sh Setup distutils build system 2013-11-22 15:58:06 +00:00
COPYING Setup distutils build system 2013-11-22 15:58:06 +00:00
COPYING.LESSER Setup distutils build system 2013-11-22 15:58:06 +00:00
generator.py Skip copying manually written python for C APIs which don't exist 2013-11-28 11:54:02 +00:00
HACKING Update README file contents and add HACKING file 2013-11-26 11:44:19 +00:00
libvirt-lxc-override-api.xml Introduce an LXC specific public API & library 2013-01-14 13:58:34 +00:00
libvirt-lxc-override.c Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functions 2013-11-22 15:58:06 +00:00
libvirt-override-api.xml Add missing binding of security model/label APIs 2013-11-27 11:11:23 +00:00
libvirt-override-virConnect.py Fix use of virDomainEventRegister in python bindings 2013-12-04 14:52:48 +00:00
libvirt-override-virDomain.py Introduce new domain create APIs to pass pre-opened FDs to LXC 2013-07-18 11:01:14 +01:00
libvirt-override-virDomainSnapshot.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virStoragePool.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virStream.py Test for object identity when checking for None in Python 2013-08-23 08:12:26 +02:00
libvirt-override.c Optimize callback lookup in event handlers 2013-12-04 17:07:13 +00:00
libvirt-override.py Call virGetLastError from mod rather than py wrapper 2013-11-26 12:54:59 -06:00
libvirt-python.spec.in Fix misc RPM specfile flaws 2013-11-28 11:54:02 +00:00
libvirt-qemu-override-api.xml agent: add python module support 2012-08-23 19:07:53 +08:00
libvirt-qemu-override.c virDomainQemuAgentCommand appeared in 0.10.0 2013-11-22 15:58:06 +00:00
libvirt-utils.c Import some virTypedParams* APIs from libvirt 2013-11-22 15:58:06 +00:00
libvirt-utils.h maint: next release is 1.2.0 2013-11-25 08:49:44 -07:00
MANIFEST.in Setup distutils build system 2013-11-22 15:58:06 +00:00
NEWS Setup distutils build system 2013-11-22 15:58:06 +00:00
README Update README file contents and add HACKING file 2013-11-26 11:44:19 +00:00
sanitytest.py Improve quality of sanitytest check 2013-11-28 13:37:55 +00:00
setup.py setup: Use user requested python binary 2013-12-03 11:26:17 -06:00
typewrappers.c Add missing binding of security model/label APIs 2013-11-27 11:11:23 +00:00
typewrappers.h Add missing binding of security model/label APIs 2013-11-27 11:11:23 +00:00

     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


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"