libvirt/python
2013-05-21 23:41:45 +08:00
..
tests maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
generator.py python: set default value to optional arguments 2013-03-26 12:34:49 +08:00
libvirt-lxc-override-api.xml
libvirt-lxc-override.c python: Remove the whitespace before ";" 2013-05-21 23:41:45 +08:00
libvirt-override-api.xml python: Fix emulatorpin API bindings 2013-03-21 12:32:03 +01:00
libvirt-override-virConnect.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virDomain.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08: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
libvirt-override.c python: Remove the whitespace before ";" 2013-05-21 23:41:45 +08:00
libvirt-override.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-qemu-override-api.xml
libvirt-qemu-override.c syntax-check: Only allows to include public headers in external tools 2013-04-18 11:31:19 +08:00
Makefile.am maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
README
sanitytest.py Check if classes are derived from object 2013-02-11 18:00:10 +01:00
TODO
typewrappers.c
typewrappers.h syntax-check: Only allows to include public headers in external tools 2013-04-18 11:31:19 +08:00

    libvirt Python Bindings README
    ==============================

Most of the libvirt python binding code is automatically generated
using the script  generator.py, and the API description from
docs/libvirt-api.xml


Manually written files:

 - libvirt-override.c: methods where the C binding needs to be hand crafted
 - libvirt-override.py: global methods where the C and python bindings have different args
 - libvirt-override-api.xml: methods where the auto-extracted API docs are not
   suitable for python auto-generator. Overriding this if the method is going
   into libvirt-override.c, but we still want auto-generated libvirt-override.py
 - libvirt-override-virConnect.py: virConnect class methods
 - typewrappers.h,.c: Python object wrappers for each libvirt C object


Auto-generated files:

  - libvirt.py: The main python binding. Comprises auto-generated code, along
    with contents from libvirt-override.py and libvirt-override-virConnect.py
  - libvirt.c, libvirt.h: The C glue layer for the python binding. Comprises
    auto-generated code, along with libvirt-override.c
  - libvirt-export.c: List of auto-generated C methods, included into
    the libvirt-override.c method table