juju
Python library for Juju
Decision gist · record as of 2026-08-14
Yes-with-conditions. The package is permissively licensed, has low install friction, and provides a complete async Python interface to Juju. However, the repository is archived and abandoned, with no commits since 2026-07-22 and no releases in 399 days. Install only if you are committed to maintaining a fork or if your Juju version and use case are stable and unlikely to require upstream fixes. Not recommended for new projects expecting ongoing upstream support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an already-bootstrapped Juju controller to connect to; uses asyncio, so code must run in an async context.
- Low install friction with a pure-Python wheel.
- However, the repository is archived and marked abandoned as of the fact sheet date, with the last commit on 2026-07-22.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute the package freely provided you include license notices and state changes; no restrictions on commercial use.
last release 2025-07-11 (399 days) · last repo commit 2026-07-22 · 64 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 233,198 downloads/mo, #9,041 on PyPI
Alternatives
Verify before relying
pip install juju
import asyncio
from juju.model import Model
async def deploy():
model = Model()
await model.connect()
app = await model.deploy('ubuntu', application_name='my-ubuntu')
await model.disconnect()
asyncio.run(deploy())- Whether the archived repository status means the package will receive security updates or bug fixes going forward.
- Compatibility with Juju versions beyond 3.6 and Python versions beyond 3.13.
- Whether the 399 days since last release indicates active maintenance or if the package is truly end-of-life.
What it is and what it does
Juju is a Python library that wraps the Juju orchestration platform's WebSocket API, allowing you to programmatically control application deployment, scaling, and lifecycle management. It uses asyncio for non-blocking I/O and provides an object-oriented layer over the underlying WebSocket bindings, exposing familiar operations like Model.deploy(), Application.add_unit(), and model status queries. The library is designed to work with Juju controllers and charms—pre-packaged application definitions—and supports Python 3.8 through 3.13.
The package depends on 13 runtime libraries including websockets for communication, paramiko for SSH, kubernetes for Kubernetes integration, hvac for HashiCorp Vault, and several utility packages for YAML parsing, type inspection, and cryptography. It is intended for developers building automation, CI/CD pipelines, or infrastructure-as-code tooling on top of Juju. The library's WebSocket bindings are generated from Juju's Go codebase to ensure full API coverage.
Use it for
- Automate application deployment to Juju models from Python scripts or CI/CD pipelines.
- Build infrastructure-as-code tools that programmatically manage charm deployments and scaling.
- Monitor and query the status of deployed applications and units in a Juju model.
- Integrate Juju orchestration into larger Python automation frameworks.
- Develop custom operators or controllers that react to model state changes asynchronously.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes-with-conditions.
The package is permissively licensed, has low install friction, and provides a complete async Python interface to Juju. However, the repository is archived and abandoned, with no commits since 2026-07-22 and no releases in 399 days. Install only if you are committed to maintaining a fork or if your Juju version and use case are stable and unlikely to require upstream fixes. Not recommended for new projects expecting ongoing upstream support.
Install
juju on PyPI
Before you install
Low install friction with a pure-Python wheel. However, the repository is archived and marked abandoned as of the fact sheet date, with the last commit on 2026-07-22. The package requires an already-bootstrapped Juju controller to function, which is a runtime prerequisite rather than an install-time one.
Requires an already-bootstrapped Juju controller to connect to; uses asyncio, so code must run in an async context.
License in practice
Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute the package freely provided you include license notices and state changes; no restrictions on commercial use.
Quickstart
pip install juju
import asyncio
from juju.model import Model
async def deploy():
model = Model()
await model.connect()
app = await model.deploy('ubuntu', application_name='my-ubuntu')
await model.disconnect()
asyncio.run(deploy())
Verify before relying
- Whether the archived repository status means the package will receive security updates or bug fixes going forward.
- Compatibility with Juju versions beyond 3.6 and Python versions beyond 3.13.
- Whether the 399 days since last release indicates active maintenance or if the package is truly end-of-life.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 13 packagesmacaroonbakerypyyamlwebsocketsparamikopyasn1toposorttyping_inspectkuberneteshvacpackagingtyping-extensionsbackports.strenumbackports-datetime-fromisoformat |
| Maintenance | Abandoned 399 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 233,198 / month, #9,041 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: juju-3.6.1.3-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 › “juju orchestration python”
- jujuA Python library providing asynchronous bindings to the Juju…
- jubilantJubilant wraps the Juju CLI with a type-annotated Python interface,…
- opsA Python framework for developing charms—declarative, event-driven…
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 jubilant · ops · charmlibs-pathops · ops-scenario · cosl · charmcraftlocal · aiounifi · pytest-operator · koyeb-sdk · google-cloud-deploy