mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
63 lines
2.3 KiB
ReStructuredText
63 lines
2.3 KiB
ReStructuredText
|
========================================================
|
||
|
Bindings for other languages and integration API modules
|
||
|
========================================================
|
||
|
|
||
|
.. contents::
|
||
|
|
||
|
Libvirt supports C and C++ directly, and has bindings available for
|
||
|
other languages:
|
||
|
|
||
|
- **C#**: Arnaud Champion develops `C# bindings <csharp.html>`__.
|
||
|
|
||
|
- **Go**: Daniel Berrange develops `Go
|
||
|
bindings <https://pkg.go.dev/libvirt.org/libvirt-go>`__.
|
||
|
|
||
|
- **Java**: Daniel Veillard develops `Java bindings <java.html>`__.
|
||
|
|
||
|
- **OCaml**: Richard Jones develops `OCaml
|
||
|
bindings <https://libvirt.org/ocaml/>`__.
|
||
|
|
||
|
- **Perl**: Daniel Berrange develops `Perl
|
||
|
bindings <https://search.cpan.org/dist/Sys-Virt/>`__.
|
||
|
|
||
|
- **PHP**: Radek Hladik started developing `PHP
|
||
|
bindings <https://libvirt.org/php>`__ in 2010.
|
||
|
|
||
|
In February 2011 the binding development has been moved to the
|
||
|
libvirt.org website as libvirt-php project.
|
||
|
|
||
|
The project is now maintained by Michal Novotny and it's heavily
|
||
|
based on Radek's version. For more information, including information
|
||
|
on posting patches to libvirt-php, please refer to the `PHP
|
||
|
bindings <https://libvirt.org/php>`__ site.
|
||
|
|
||
|
- **Python**: Libvirt's python bindings are split to a separate
|
||
|
`package <https://gitlab.com/libvirt/libvirt-python>`__ since version
|
||
|
1.2.0, older versions came with direct support for the Python
|
||
|
language.
|
||
|
|
||
|
If your libvirt is installed as packages, rather than compiled by you
|
||
|
from source code, ensure you have the appropriate package installed.
|
||
|
|
||
|
This is named **libvirt-python** on RHEL/Fedora,
|
||
|
`python-libvirt <https://packages.ubuntu.com/search?keywords=python-libvirt>`__
|
||
|
on Ubuntu, and may be named differently on others.
|
||
|
|
||
|
For usage information, see the `Python API bindings <python.html>`__
|
||
|
page.
|
||
|
|
||
|
- **Ruby**: Chris Lalancette develops `Ruby
|
||
|
bindings <https://libvirt.org/ruby/>`__.
|
||
|
|
||
|
Integration API modules:
|
||
|
|
||
|
- **D-Bus**: Pavel Hrdina develops `D-Bus API <dbus.html>`__.
|
||
|
|
||
|
For information on using libvirt on **Windows** `please see the Windows
|
||
|
support page <windows.html>`__.
|
||
|
|
||
|
Support, requests or help for libvirt bindings are welcome on the
|
||
|
`mailing list <https://www.redhat.com/mailman/listinfo/libvir-list/>`__,
|
||
|
as usual try to provide enough background information and make sure you
|
||
|
use recent version, see the `help page <bugs.html>`__.
|