Skip to main content

Python 3 bindings for Juju

Project description

# macumba

python3 bindings for juju

# Usage

This example demonstrates how to deploy Openstack Keystone into Juju

```python
#!/usr/bin/env python3
import sys
import macumba

JUJU_URL = 'wss://localhost:17070/'
JUJU_PASS = 'pass'

if __name__ == "__main__":
j = macumba.JujuClient(url=JUJU_URL, password=JUJU_PASS)
j.login()
j.deploy('keystone')
```

## macumba-shell

Running `macumba-shell` will allow you to work with the api directly.

To get help with the library run

```
>>> help(j)
```

To deploy a charm

```
>>> j.deploy('mysql', 'mysql')
```

# Authors

2014 Adam Stokes <adam.stokes@ubuntu.com>

# Copyright

2014 Canonical, Ltd.

# License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

Project details


Release history Release notifications

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.8

History Node

0.6

History Node

0.5

History Node

0.4.1

This version
History Node

0.4

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
macumba-0.4.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None Aug 20, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page