/serfclient-py

Python client for the Serf orchestration tool

Primary LanguagePythonMIT LicenseMIT

serfclient

The Python interface to Serf, the decentralised solution for service discovery and orchestration.

Travis-CI badge Gemnasium badge PyPI latest version badge Code coverage badge

Installation

serfclient requires a running Serf agent. See Serf's agent documentation for instructions.

To install serfclient, simply:

$ sudo pip install serfclient

or alternatively (you really should be using pip though):

$ sudo easy_install serfclient

or from source:

$ sudo python setup.py install

Getting Started

from serfclient.client import SerfClient

client = SerfClient()
client.event('foo', 'bar')

Development

serfclient requires a running Serf agent. See Serf's agent documentation for instructions.

To run the tests, simply:

$ python setup.py test