Home

Awesome

marathon-client.py

Client for the Marathon scheduler written in Python.

Inspired by the gem marathon client.

Requirements

Installation

git clone https://github.com/Wizcorp/marathon-client.py.git
cd marathon-client.py

You can install marathon-client.py globally with:

sudo easy_install .

Or locally with:

pip install --user .

You may have to edit your $PATH environment variables.

Usage

marathon-client

marathon-client --help

marathon package

List the apps running on Marathon:

from  marathon import Marathon

marathon = Marathon(host="http://127.0.0.1:8080")
print marathon.list()

API documentation