libvirt/python
Guido Günther 21858e2137 Check if classes are derived from object
This makes sure we don't regress to old style classes
2013-02-11 18:00:10 +01:00
..
tests Remove more trailing semicolons in Python files 2013-02-07 19:52:44 +01:00
generator.py Remove more trailing semicolons in Python files 2013-02-07 19:52:44 +01: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 Introduce an LXC specific public API & library 2013-01-14 13:58:34 +00:00
libvirt-override-api.xml virNodeGetCPUMap: Add python binding 2012-10-25 11:34:35 -06:00
libvirt-override-virConnect.py Remove more trailing semicolons in Python files 2013-02-07 19:52:44 +01:00
libvirt-override-virDomain.py
libvirt-override-virDomainSnapshot.py python: Fix bindings for virDomainSnapshotGet{Domain,Connect} 2013-01-24 21:24:30 +01:00
libvirt-override-virStoragePool.py
libvirt-override-virStream.py
libvirt-override.c Introduce virTypedParamsClear public API 2013-01-18 15:04:00 +01:00
libvirt-override.py Cosmetics: Remove semicolons 2013-02-07 07:49:57 +01:00
libvirt-qemu-override-api.xml
libvirt-qemu-override.c
Makefile.am sanitytest.py: Do not rely on system libvirt 2013-02-05 21:01:15 +01:00
README
sanitytest.py Check if classes are derived from object 2013-02-11 18:00:10 +01:00
TODO
typewrappers.c Rename memory.{c,h} to viralloc.{c,h} 2012-12-21 11:17:14 +00:00
typewrappers.h

    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