libvirt-python


Namelibvirt-python JSON
Version 10.4.0 PyPI version JSON
download
home_pagehttp://www.libvirt.org
SummaryThe libvirt virtualization API python binding
upload_time2024-06-03 08:40:11
maintainerLibvirt Maintainers
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Libvirt Python Binding README
=============================

This package provides a module that permits applications
written in the Python 3.x programming language to call the interface
supplied by the libvirt library, to manage the virtualization
capabilities of recent versions of Linux (and other OSes).
As such, the module exposes Python bindings to 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

  $ python3 -m build

for testing and distributing purposes or it can be installed directly via pip
as

  $ python3 -m pip install .

without explicit building.

In order to test the package, you'll need either tox or at least pytest,
depending on whether you want to test an already installed package in which
case the latter is sufficient or if you wish to test in a virtual
environment you'd need tox. Depending on your preferred setup, you can run the
tests either as

  $ python3 -m pytest

or as

  $ tox

A makefile shim is also provided for your convenience, so that you don't have
to care about the exact operations mentioned above and instead you simply do

  $ make && make check

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 python3 -m build

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

            

Raw data

            {
    "_id": null,
    "home_page": "http://www.libvirt.org",
    "name": "libvirt-python",
    "maintainer": "Libvirt Maintainers",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "libvir-list@redhat.com",
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/72/4b/218513f595ce788567e253e3df73f97bf4f9f2b7872d04bef50f1c20dc7d/libvirt-python-10.4.0.tar.gz",
    "platform": null,
    "description": "Libvirt Python Binding README\n=============================\n\nThis package provides a module that permits applications\nwritten in the Python 3.x programming language to call the interface\nsupplied by the libvirt library, to manage the virtualization\ncapabilities of recent versions of Linux (and other OSes).\nAs such, the module exposes Python bindings to to the libvirt.so,\nlibvirt-qemu.so and libvirt-lxc.so library APIs.\n\nIt is written to build against any version of libvirt that\nis 0.9.11 or newer.\n\nThis code is distributed under the terms of the LGPL version\n2 or later.\n\nRequirements\n------------\n\nTo build the libvirt python binary requires the GCC and pkg-config\ntools, and development headers for the libvirt and python libraries.\n\nBuilding and installing\n-----------------------\n\nThe module can be built by following the normal python module\nbuild process\n\n  $ python3 -m build\n\nfor testing and distributing purposes or it can be installed directly via pip\nas\n\n  $ python3 -m pip install .\n\nwithout explicit building.\n\nIn order to test the package, you'll need either tox or at least pytest,\ndepending on whether you want to test an already installed package in which\ncase the latter is sufficient or if you wish to test in a virtual\nenvironment you'd need tox. Depending on your preferred setup, you can run the\ntests either as\n\n  $ python3 -m pytest\n\nor as\n\n  $ tox\n\nA makefile shim is also provided for your convenience, so that you don't have\nto care about the exact operations mentioned above and instead you simply do\n\n  $ make && make check\n\nAs of libvirt 1.2.6, it is possible to develop against an uninstalled\nlibvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH\nenvironment variables to point into that libvirt tree; you can even\nautomate this by using libvirt's run script:\n\n  /path/to/libvirt/run python3 -m build\n\nPatches for this code should be submitted as merge requests to the\nproject page on gitlab. See CONTRIBUTING.rst for more information.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "The libvirt virtualization API python binding",
    "version": "10.4.0",
    "project_urls": {
        "Homepage": "http://www.libvirt.org"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "724b218513f595ce788567e253e3df73f97bf4f9f2b7872d04bef50f1c20dc7d",
                "md5": "9de183b6b413dab008b7aa1ac9d0fd73",
                "sha256": "a20273a3374fcacb45b5ac4fd135e2c40460bb4a3a290d26c4aa8d0eaf1225b5"
            },
            "downloads": -1,
            "filename": "libvirt-python-10.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9de183b6b413dab008b7aa1ac9d0fd73",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 240038,
            "upload_time": "2024-06-03T08:40:11",
            "upload_time_iso_8601": "2024-06-03T08:40:11.252628Z",
            "url": "https://files.pythonhosted.org/packages/72/4b/218513f595ce788567e253e3df73f97bf4f9f2b7872d04bef50f1c20dc7d/libvirt-python-10.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 08:40:11",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "libvirt-python"
}
        
Elapsed time: 0.24541s