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

# Copyright

2014, 2015 Canonical, Ltd.
2014, 2015 Adam Stokes <adam.stokes@ubuntu.com>


# 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.

Source Distribution

macumba-0.6.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

macumba-0.6-py2.py3-none-any.whl (8.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file macumba-0.6.tar.gz.

File metadata

  • Download URL: macumba-0.6.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for macumba-0.6.tar.gz
Algorithm Hash digest
SHA256 0d37e4b3067d7091392b0e368ed9865ea540e216056856ec10f528b4515cc375
MD5 cff2bc4d4df86b398f9ef91be9a1541a
BLAKE2b-256 da89da4d42b5de40aa103347a6b754a924153867e591b6f6a5ee6caacb41a976

See more details on using hashes here.

File details

Details for the file macumba-0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for macumba-0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ccb71132dacce1fd71cbb5064ef7410d44df42770aa998e51a723d6acc63c73
MD5 e82b80bb8dcfc3742300c14193436ab2
BLAKE2b-256 d9eed7c25be8f8b01888e49308ebd1aa0c70c2b063ed61f79e40dcb38f2dd1f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page