Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF4B610FBC for ; Tue, 1 Sep 2015 02:04:50 +0000 (UTC) Received: (qmail 67483 invoked by uid 500); 1 Sep 2015 02:04:50 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 67427 invoked by uid 500); 1 Sep 2015 02:04:50 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 67412 invoked by uid 99); 1 Sep 2015 02:04:50 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 02:04:50 +0000 Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 024E81A0252; Tue, 1 Sep 2015 02:04:49 +0000 (UTC) Received: by igbuu8 with SMTP id uu8so38847040igb.1; Mon, 31 Aug 2015 19:04:48 -0700 (PDT) X-Received: by 10.50.171.138 with SMTP id au10mr307077igc.35.1441073088464; Mon, 31 Aug 2015 19:04:48 -0700 (PDT) MIME-Version: 1.0 From: Suresh Marru Date: Tue, 01 Sep 2015 02:04:39 +0000 Message-ID: Subject: Python CLI Tools To: "users@airavata.apache.org" , Airavata Dev Content-Type: multipart/alternative; boundary=089e01182216888da5051ea5f9ad --089e01182216888da5051ea5f9ad Content-Type: text/plain; charset=UTF-8 Hi All, Any recommendations on creating good command line interfaces using Python? We have a usecase to wrap Airavata Python SDK samples to create good command line tool to submit jobs. Here are some tools I found with varying opinions: https://docs.python.org/2/library/argparse.html# https://docs.python.org/2/library/cmd.html High level tools like Click, Clint - http://docs.python-guide.org/en/latest/scenarios/cli/ Any opinions? Thanks, Suresh --089e01182216888da5051ea5f9ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

Any recommendations on creating= good command line interfaces using Python? We have a usecase to wrap Airav= ata Python SDK samples to create good command line tool to submit jobs.=C2= =A0

Here are some tools I found with varying opini= ons:
<= a href=3D"https://docs.python.org/2/library/cmd.html">https://docs.python.o= rg/2/library/cmd.html

High level tools lik= e Click, Clint -=C2=A0http://docs.python-guide.org/en/latest/scenarios/cli/=C2= =A0

Any opinions?=C2=A0

T= hanks,
Suresh
--089e01182216888da5051ea5f9ad--