Python bindings for MCollective
Project description
Introduction
Python bindings for MCollective inspired by mcollective-python example. Making a ping discovery agent call is just 3 lines:
>>> config = config.Config.from_configfile('client.cfg')
>>> msg = message.Message(body='ping', agent='discovery', config=config)
>>> pprint.pprint(rpc.SimpleAction(config=config, msg=msg, agent='discovery').call())
[{':body': 'pong',
':msgtime': 1395419893,
':requestid': '003ba8142857ccb42cfc4d51262739ecafd43aca',
':senderagent': 'discovery',
':senderid': 'mco1'}]
Features
MCollective 2.0 - 2.4
Python 2.6 - 3.4
All MCollective connectors (STOMP, RabbitMQ, ActiveMQ)
SSL security provider (YAML serialization)
Battle tested
MCollective configuration files parsing
MCollective filters
Installation
Install it just with pip:
$ pip install --pre python-mcollective
The pre argument is required since there is no stable releases yet.
Contribute
Issue Tracker: https://github.com/rafaduran/python-mcollective/issues
Source Code: https://github.com/rafaduran/python-mcollective
Documentation: http://python-mcollective.readthedocs.org/en/latest/
Support
If you are having issues, please just open an issue on GitHub.
License
The project is licensed under the BSD license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-mcollective-0.0.1.dev7.tar.gz.
File metadata
- Download URL: python-mcollective-0.0.1.dev7.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77a10e42b9c6cc874622b3e7555f38fdf96c57d697dec29b197317d5fe00b664
|
|
| MD5 |
50f4be60eb245168ea9c683e044437bb
|
|
| BLAKE2b-256 |
388246ee020759aded7695b7ee9953f0e4ca8e51b7eaab9a7e01a4284c564deb
|