• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    C
  • License
    GNU Lesser Genera...
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-python
Libvirt Python Binding README
=============================

This package provides a python binding to the libvirt.so,
libvirt-qemu.so and libvirt-lxc.so library APIs.

It is written to build against any version of libvirt that
is 0.9.11 or newer.

This code is distributed under the terms of the LGPL version
2 or later.

Requirements
------------

To build the libvirt python binary requires the GCC and pkg-config
tools, and development headers for the libvirt and python libraries.

Building and installing
-----------------------

The module can be built by following the normal python module
build process

  python setup.py build
  sudo python setup.py install

or to install as non-root

  python setup.py build
  python setup.py install --user

If python-pytest is installed, you can test the package with

  python setup.py test

A makefile shim is provided so that you can do

  make && make check

rather than directly invoking setup.py.

As of libvirt 1.2.6, it is possible to develop against an uninstalled
libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
environment variables to point into that libvirt tree; you can even
automate this by using libvirt's run script:

  /path/to/libvirt/run python setup.py build

Patches for this code should be submitted as merge requests to the
project page on gitlab. See CONTRIBUTING.rst for more information.

More Repositories

1

libvirt

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt
C
1,382
star
2

libvirt-go

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-go
Go
332
star
3

libvirt-rust

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-rust
Rust
94
star
4

libvirt-go-xml

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-go-xml
Go
75
star
5

libvirt-java

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-java
Java
45
star
6

libvirt-go-module

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-go-module
Go
43
star
7

libvirt-php

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-php
C
35
star
8

libvirt-console-proxy

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-console-proxy
Go
20
star
9

libvirt-csharp

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-csharp
C#
17
star
10

libvirt-ruby

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-ruby
C
16
star
11

libvirt-perl

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-perl
Perl
13
star
12

libvirt-test-API

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-test-API
Python
12
star
13

libvirt-sandbox

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-sandbox
C
11
star
14

libvirt-go-xml-module

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-go-xml-module
Go
10
star
15

libvirt-glib

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-glib
C
10
star
16

php-virt-control

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/php-virt-control
PHP
9
star
17

libvirt-snmp

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-snmp
C
7
star
18

libvirt-dbus

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-dbus
C
6
star
19

libvirt-tck

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-tck
Perl
6
star
20

libvirt-designer

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-designer
C
6
star
21

libvirt-cim

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-cim
C
5
star
22

libvirt-ocaml

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-ocaml
OCaml
4
star
23

libvirt-gitlab-executor

Python
4
star
24

autotest

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/autotest
Python
3
star
25

libvirt-ci

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-ci
Python
3
star
26

libvirt-appdev-guide

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-appdev-guide
Makefile
3
star
27

libvirt-autobuild

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-autobuild
Shell
2
star
28

virttools-web

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/virttools-web
HTML
2
star
29

libvirt-media

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-media
2
star
30

libvirt-security-notice

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-security-notice
XSLT
2
star
31

libvirt-builder

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-builder
Makefile
2
star
32

virttools-planet

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/virttools-planet
Python
2
star
33

libvirt-dockerfiles

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-dockerfiles
Python
2
star
34

libvirt-wiki

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-wiki
CSS
2
star
35

libvirt-virshcmdref

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-virshcmdref
HTML
2
star
36

scripts

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/scripts
Shell
2
star
37

libvirt-publican

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-publican
Dockerfile
2
star
38

libvirt-appdev-guide-python

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-appdev-guide-python
Python
1
star
39

libcmpiutil

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libcmpiutil
C
1
star
40

cimtest

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/cimtest
Python
1
star
41

libvirt-qpid

[ARCHIVED] Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-qpid
C++
1
star
42

libvirt-sandbox-image

Read-only mirror. Please submit merge requests / issues to https://gitlab.com/libvirt/libvirt-sandbox-image
Python
1
star