Skip to main content

Python bindings for MCollective

Project description

https://travis-ci.org/rafaduran/python-mcollective.png?branch=master https://coveralls.io/repos/rafaduran/python-mcollective/badge.png?branch=master Stories in Ready Bitdeli badge

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.

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

This version
History Node

0.0.1.dev7

History Node

0.0.1.dev6

History Node

0.0.1.dev5

History Node

0.0.1.dev4

History Node

0.0.1.dev3

History Node

0.0.1.dev2

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
python-mcollective-0.0.1.dev7.tar.gz (17.9 kB) Copy SHA256 hash SHA256 Source None Jun 23, 2015

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