Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import urllib2
import json
import re
marathon_url = "http://mesos-dev-marathon.werally.in/v2/apps"
data = urllib2.urlopen(marathon_url).read()
jj = json.loads(data)
#! /usr/bin/env python
import argparse
import logging
import sys
import time
from itertools import islice
import boto3