2021-03-12 11:09:01 +00:00
|
|
|
========================================================
|
|
|
|
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
|
2021-12-09 11:15:49 +00:00
|
|
|
bindings <https://pkg.go.dev/libvirt.org/go/libvirt>`__.
|
2021-03-12 11:09:01 +00:00
|
|
|
|
2023-04-27 07:42:03 +00:00
|
|
|
- **Java**: Daniel Veillard develops `Java bindings
|
|
|
|
<https://java.libvirt.org/>`__.
|
2021-03-12 11:09:01 +00:00
|
|
|
|
|
|
|
- **OCaml**: Richard Jones develops `OCaml
|
2023-03-14 21:45:27 +00:00
|
|
|
bindings <https://ocaml.libvirt.org/>`__.
|
2021-03-12 11:09:01 +00:00
|
|
|
|
|
|
|
- **Perl**: Daniel Berrange develops `Perl
|
|
|
|
bindings <https://search.cpan.org/dist/Sys-Virt/>`__.
|
|
|
|
|
|
|
|
- **PHP**: Radek Hladik started developing `PHP
|
2023-03-14 21:40:00 +00:00
|
|
|
bindings <https://php.libvirt.org/>`__ in 2010.
|
2021-03-12 11:09:01 +00:00
|
|
|
|
|
|
|
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
|
2023-03-14 21:40:00 +00:00
|
|
|
bindings <https://php.libvirt.org/>`__ site.
|
2021-03-12 11:09:01 +00:00
|
|
|
|
|
|
|
- **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
|
2023-03-14 21:45:27 +00:00
|
|
|
bindings <https://ruby.libvirt.org/>`__.
|
2021-03-12 11:09:01 +00:00
|
|
|
|
|
|
|
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
|
2022-06-22 11:37:18 +00:00
|
|
|
`mailing list <https://listman.redhat.com/mailman/listinfo/libvir-list/>`__,
|
2021-03-12 11:09:01 +00:00
|
|
|
as usual try to provide enough background information and make sure you
|
|
|
|
use recent version, see the `help page <bugs.html>`__.
|