[libvirt] want help about python APIs doc

Daniel P. Berrange berrange at redhat.com
Tue Sep 17 13:43:57 UTC 2013


On Tue, Sep 17, 2013 at 04:25:14PM +0800, Tony Gong wrote:
> hi friends,
>  I need some help for finding python APIs of libvirt. I
> have already find the Java APIs doc at here:
> http://libvirt.org/sources/java/javadoc/, is there any doc
> just like this to make me to find APIs more easy. many
> thanks!!

We don't have any python docs online, but python itself can
tell you about its APIs.

eg

  $ python
  import libvirt
  print help(libvirt)
  print help(libvirt.virConnect)
  print help(libvirt.virDomain)
  print dir(libvirt)
  print dir(libvirt.virConnect)
  print dir(libvirt.virDomain)

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list