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

#!/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)

## 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')

# Copyright

2014, 2015 Canonical, Ltd.
2014, 2015 Adam Stokes <>

# 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

Download files

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

Files for macumba, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size macumba-0.6-py2.py3-none-any.whl (8.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size macumba-0.6.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page