mirror of https://gitee.com/openkylin/libvirt.git
docs: reworded and reordered the bindings page, plus minor tweaks
Reordered the bindings into alphabetical order, added a link to the php-libvirt source on Github, plus gave the direct package names needed for Python usage on RHEL/Fedora, and Ubuntu.
This commit is contained in:
parent
8578df6a49
commit
ae641fcfc5
|
@ -4,42 +4,64 @@
|
|||
<h1 >Bindings for other languages</h1>
|
||||
|
||||
<p>
|
||||
Libvirt comes with bindings to support other languages than
|
||||
pure <strong>C</strong>. First the headers embeds the necessary
|
||||
declarations to allow direct access from <strong>C++</strong>
|
||||
code, but also we have bindings for higher level kind of languages:
|
||||
Libvirt supports C and C++ directly, and has bindings available
|
||||
for other languages:
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Python</strong>: Libvirt comes with direct support for
|
||||
the Python language (just make sure you installed the libvirt-python
|
||||
package if not compiling from sources). See below for more
|
||||
information about using libvirt with python
|
||||
</li>
|
||||
<li>
|
||||
<strong>Perl</strong>: Daniel Berrange provides
|
||||
<a href="http://search.cpan.org/dist/Sys-Virt/">bindings for Perl</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>OCaml</strong>: Richard Jones supplies
|
||||
<a href="http://libvirt.org/ocaml/">bindings for OCaml</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Ruby</strong>: David Lutterkort provides
|
||||
<a href="http://libvirt.org/ruby/">bindings for Ruby</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Java</strong>: Daniel Veillard maintains
|
||||
<a href="java.html">Java bindings</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>C#</strong>: Arnaud Champion maintains
|
||||
<strong>C#</strong>: Arnaud Champion develops
|
||||
<a href="csharp.html">C# bindings</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>PHP</strong>: Radek Hladik is developing
|
||||
<strong>Java</strong>: Daniel Veillard develops
|
||||
<a href="java.html">Java bindings</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>OCaml</strong>: Richard Jones develops
|
||||
<a href="http://libvirt.org/ocaml/">OCaml bindings</a>.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Perl</strong>: Daniel Berrange develops
|
||||
<a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>.
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<strong>PHP</strong>: Radek Hladik develops
|
||||
<a href="http://phplibvirt.cybersales.cz/">PHP bindings</a>.
|
||||
</p>
|
||||
<p>
|
||||
The php-libvirt bindings also have their source online
|
||||
<a href="http://github.com/Kedarius/php-libvirt">here in Github</a>.
|
||||
</p>
|
||||
<p>
|
||||
This allows you to easily see the code, make comments on it,
|
||||
create your own forks, and contribute the changes back.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<strong>Python</strong>: Libvirt comes with direct support for
|
||||
the Python language.
|
||||
</p>
|
||||
<p>
|
||||
If your libvirt is installed as packages, rather than compiled
|
||||
by you from source code, ensure you have the appropriate
|
||||
package installed.
|
||||
</p>
|
||||
<p>
|
||||
This is named <b>libvirt-python</b> on RHEL/Fedora,
|
||||
<a href="http://packages.ubuntu.com/search?keywords=python-libvirt"><b>python-libvirt</b></a>
|
||||
on Ubuntu, and may be named differently on others.
|
||||
</p>
|
||||
<p>
|
||||
For usage information, see the
|
||||
<a href="python.html">Python API bindings</a> page.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Ruby</strong>: David Lutterkort develops
|
||||
<a href="http://libvirt.org/ruby/">Ruby bindings</a>.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue