jubilant
Juju CLI wrapper, primarily for charm integration testing
Decision gist · record as of 2026-08-14
Yes. Jubilant is actively maintained, has low install friction, carries no security vulnerabilities, and offers a stable API (committed post-1.0.0). It directly solves the pain point of charm integration testing with a cleaner alternative to both pytest-operator and python-libjuju. Install it if you write Juju charm tests or automate Juju deployments in Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Juju CLI to be installed separately on the system; Python 3.10 or later.
- Low install friction with a single runtime dependency (PyYAML).
- Active maintenance: last commit 2026-08-12, version 1.12.0 released 2026-07-30, and the project explicitly committed to API stability after 1.0.0 in April 2025.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
last release 2026-07-30 (15 days) · last repo commit 2026-08-12 · 22 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 177,021 downloads/mo, #10,226 on PyPI
Alternatives
Verify before relying
pip install jubilant
import jubilant
juju = jubilant.Juju()
juju.deploy('snappass-test')
juju.wait(jubilant.all_active)- Whether Jubilant's API coverage matches all common Juju CLI commands used in production charm tests.
- Performance characteristics when managing large deployments or many concurrent charm operations.
- Compatibility with Juju versions beyond the current stable release.
What it is and what it does
Jubilant is a Python wrapper around the Juju CLI designed to simplify charm integration testing. It maps Juju CLI commands to type-annotated Python methods, eliminating the need for async/await patterns and avoiding websocket failures that plague lower-level alternatives. The library is built for developers writing pytest-based charm tests who want a straightforward, Pythonic interface to deploy charms, wait for readiness, and verify behavior.
The package depends only on PyYAML and requires the Juju CLI to be installed separately on the system. It supports current Python versions (3.10+) and is actively maintained by Canonical. The project committed to API stability after version 1.0.0, making it a stable choice for long-lived test suites.
Use it for
- Write pytest fixtures that deploy charms to temporary Juju models and clean them up automatically after tests.
- Wait for charm deployments to reach active state with built-in predicates like all_active before running assertions.
- Automate charm integration testing without managing websocket connections or async/await boilerplate.
- Replace pytest-operator in existing test suites with a simpler, more maintainable API.
- Deploy and verify multiple charms in a single test, checking their interactions and HTTP endpoints.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Jubilant is actively maintained, has low install friction, carries no security vulnerabilities, and offers a stable API (committed post-1.0.0). It directly solves the pain point of charm integration testing with a cleaner alternative to both pytest-operator and python-libjuju. Install it if you write Juju charm tests or automate Juju deployments in Python.
Install
jubilant on PyPI
Before you install
Low install friction with a single runtime dependency (PyYAML). Active maintenance: last commit 2026-08-12, version 1.12.0 released 2026-07-30, and the project explicitly committed to API stability after 1.0.0 in April 2025.
Requires Juju CLI to be installed separately on the system; Python 3.10 or later.
License in practice
Licensed under Apache Software License (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
Quickstart
pip install jubilant
import jubilant
juju = jubilant.Juju()
juju.deploy('snappass-test')
juju.wait(jubilant.all_active)
Verify before relying
- Whether Jubilant's API coverage matches all common Juju CLI commands used in production charm tests.
- Performance characteristics when managing large deployments or many concurrent charm operations.
- Compatibility with Juju versions beyond the current stable release.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagePyYAML |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 177,021 / month, #10,226 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 :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 |
Evidence: jubilant-1.12.0-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 cli wrapper python”
- jubilantJubilant wraps the Juju CLI with a type-annotated Python interface,…
- coslProvides utilities for COS Lite charms, including bindings for…
- pytest-operatorA pytest plugin that provides fixtures and helpers for writing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also juju · ops · pytest-operator · ops-scenario · charmlibs-pathops · cosl · charmcraftlocal · pytest-pretty · pytest-playwright · uiautomator2