pylxd
Python library for interacting with the LXD REST API
Decision gist · record as of 2026-08-14
Yes. pylxd is actively maintained, has no known vulnerabilities, installs cleanly with common dependencies, and is the standard Python client for LXD. Install it if you need to automate LXD operations from Python; skip it if you only use LXD from the command line or don't manage LXD systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; LXD daemon must be running and accessible on the system.
- Low install friction with a pure-wheel distribution and five common runtime dependencies.
- Active maintenance with a recent release (130 days ago) and ongoing repository activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects, including commercial ones, with minimal restrictions.
last release 2026-04-06 (130 days) · last repo commit 2026-08-12 · 277 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,366 downloads/mo, #14,447 on PyPI
Alternatives
Verify before relying
pip install pylxd
import pylxd
# Connect to LXD daemon
client = pylxd.client.Client()- Whether the package works with remote LXD instances or only local sockets.
- Performance characteristics when managing large numbers of containers.
- Compatibility with different LXD versions and API stability guarantees.
What it is and what it does
pylxd is a Python client library for the LXD container and virtual machine manager, maintained by Canonical. It wraps the LXD REST API to let you create, configure, start, stop, and manage containers and VMs programmatically from Python code. The library depends on cryptography, requests, requests-toolbelt, python-dateutil, and ws4py for HTTP communication, secure operations, and WebSocket support.
You use it when you need to automate LXD operations—provisioning containers, orchestrating deployments, or integrating LXD into larger Python-based infrastructure tools. It's aimed at system administrators and developers working with LXD on Linux systems who want to avoid shell scripting or direct REST calls.
Use it for
- Automate container provisioning and lifecycle management in Python-based infrastructure-as-code tools.
- Build monitoring or management dashboards that query and control LXD containers programmatically.
- Integrate LXD container operations into CI/CD pipelines or deployment orchestration scripts.
- Write administrative tools to batch-manage containers, snapshots, and resource allocation across LXD hosts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
pylxd is actively maintained, has no known vulnerabilities, installs cleanly with common dependencies, and is the standard Python client for LXD. Install it if you need to automate LXD operations from Python; skip it if you only use LXD from the command line or don't manage LXD systems.
Install
pylxd on PyPI
Before you install
Low install friction with a pure-wheel distribution and five common runtime dependencies. Active maintenance with a recent release (130 days ago) and ongoing repository activity.
Requires Python 3.10 or later; LXD daemon must be running and accessible on the system.
License in practice
Apache-2.0 permissive license allows use in most projects, including commercial ones, with minimal restrictions.
Quickstart
pip install pylxd
import pylxd
# Connect to LXD daemon
client = pylxd.client.Client()
Verify before relying
- Whether the package works with remote LXD instances or only local sockets.
- Performance characteristics when managing large numbers of containers.
- Compatibility with different LXD versions and API stability guarantees.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagescryptographypython-dateutilrequestsrequests-toolbeltws4py |
| Maintenance | Actively maintained 130 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,366 / month, #14,447 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 |
Evidence: pylxd-2.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “lxd python client”
- pylxdpylxd provides a Python interface to the LXD REST API, enabling…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also docker-py · docker · podman · exasol-integration-test-docker-environment · python-vagrant · livy · xrpl-py · lxml-html-clean · ops · onelogin