Skip to content

Wizcorp/marathon-client.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marathon-client.py

Client for the Marathon scheduler written in Python.

Inspired by the gem marathon client.

Requirements

  • Python 2.6+ for using the marathon package.
  • Python 2.7+ for using marathon-client.

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages