3 A python library for Juju.
5 NOTE: There is no implementation here yet. It is simply a mocked out
6 design of what this library might look like. The design itself is not
7 complete. Comments on the design, good or bad, are welcomed. Use cases
8 are also appreciated as they will shape the design.
10 The goal is to end up with a feature-full and officially supported
11 python library for Juju.
13 The focus right now is on Juju 2+ only.
17 * Present an object-oriented interface to all the features of the Juju
19 * Do as much as possible through the API so that the library can be used
20 without actually installing Juju
26 ## Simple bootstrap/deploy
32 lxd = juju.get_cloud('lxd')
33 controller = lxd.bootstrap('lxd-test')
34 model = controller.get_model('default')
36 # We might want an async and blocking version of deploy()?
37 model.deploy('mediawiki-single')
39 mediawiki = model.get_service('mediawiki')