Metadata-Version: 2.4
Name: pylxd
Version: 2.4.1
Summary: Python library for interacting with the LXD REST API
Author-email: "Paul Hummer and others (see CONTRIBUTORS.rst)" <lxd@lists.canonical.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://ubuntu.com/lxd
Project-URL: Documentation, https://pylxd.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/canonical/pylxd
Project-URL: Issues, https://github.com/canonical/pylxd/issues
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: cryptography>=46.0.0
Requires-Dist: python-dateutil>=2.4.2
Requires-Dist: requests>=2.20.0
Requires-Dist: requests-toolbelt>=1.0.0
Requires-Dist: ws4py>=0.4.0
Provides-Extra: testing
Requires-Dist: ddt>=1.7.0; extra == "testing"
Requires-Dist: pytest-cov>=7.0.0; extra == "testing"
Requires-Dist: pytest>=9.0.2; extra == "testing"
Requires-Dist: requests-mock>=1.2; extra == "testing"
Provides-Extra: format
Requires-Dist: black; extra == "format"
Requires-Dist: flake8; extra == "format"
Requires-Dist: flake8-pyproject; extra == "format"
Requires-Dist: isort; extra == "format"
Provides-Extra: check
Requires-Dist: mypy; extra == "check"
Provides-Extra: doc
Requires-Dist: Sphinx; extra == "doc"
Provides-Extra: release
Requires-Dist: build; extra == "release"
Requires-Dist: twine>=6.0.0; extra == "release"
Dynamic: license-file

pylxd
~~~~~

.. image:: http://img.shields.io/pypi/v/pylxd.svg
    :target: https://pypi.python.org/pypi/pylxd
.. image:: https://github.com/canonical/pylxd/actions/workflows/tests.yml/badge.svg
    :target: https://github.com/canonical/pylxd
.. image:: https://codecov.io/github/canonical/pylxd/coverage.svg?branch=main
    :target: https://codecov.io/github/canonical/pylxd
.. image:: https://readthedocs.org/projects/pylxd/badge/?version=latest
    :target: https://pylxd.readthedocs.io/en/latest/?badge=latest

A Python library for interacting with the LXD REST API.

Installation
=============
.. code-block:: console

  # Create a virtual environment
  python3 -m venv myvenv
  cd myvenv

  # Activate the virtual environment
  . bin/activate
  # Install pyLXD in it
  pip install pylxd

Bug reports
===========

Bug reports can be filed on the `GitHub repository
<https://github.com/canonical/pylxd/issues/new>`_.

Support and discussions
=======================

We use the `LXD category on Ubuntu's Discourse
<https://discourse.ubuntu.com/c/lxd/126>`_.

If you prefer live discussions, some of us also hang out in
`#lxd
<https://web.libera.chat/#lxd>`_ on irc.libera.chat.

LXD Documentation: `https://documentation.ubuntu.com/lxd/en/latest/
<https://documentation.ubuntu.com/lxd/en/latest/>`_

PyLXD API Documentation: `https://pylxd.readthedocs.io/en/latest/
<https://pylxd.readthedocs.io/en/latest/>`_

Contributing to pyLXD
=====================

If you wish to contribute to pyLXD please read the `Contributing Guide
<https://pylxd.readthedocs.io/en/latest/contributing.html>`_, particularly
around unit tests, integration tests and signing commits.
