1 2 3 4 5 6 7 8
import json import sys data = json.load(sys.stdin) for k, v in sorted(data.items()): if 'linux64' in v['platforms']: print('{}:{}'.format(k, v['revision']))