Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89452

Clize 3.0b1: An argument parser that draws a CLI from your function sigature

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <kaiser.yann@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.037
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'interfaces': 0.04; 'everyone!': 0.07; 'skip:` 10': 0.07; 'explanation': 0.09; 'parameter': 0.09; 'release.': 0.09; 'bullet': 0.16; 'command- line': 0.16; 'deduced': 0.16; 'landing': 0.16; 'subject:parser': 0.16; 'passing': 0.19; 'install': 0.23; 'decorators': 0.24; 'faq': 0.24; 'sort': 0.25; "i've": 0.25; 'source': 0.25; 'point': 0.28; 'primarily': 0.30; 'message-id:@mail.gmail.com': 0.30; 'parameters.': 0.31; 'subject:that': 0.31; "who'd": 0.31; 'community': 0.33; 'at:': 0.34; 'subject:from': 0.34; 'created': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'functions.': 0.36; 'url:org': 0.36; 'feedback': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'extended': 0.61; 'new': 0.61; 'clicking': 0.73; 'links,': 0.74; 'subject:your': 0.76; 'contents,': 0.84; 'explanation:': 0.84; 'url:plus': 0.84; 'thing,': 0.91; 'feet': 0.93; 'browse': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=mNui1A7lWvX/9AL2eRsS3zO+5R+ssaO1SlJj5jE3udg=; b=J54QwFwD19jOzmdPIgkE933Cpec+uNviFzde5od0HEnF/fgpoJIBFEQQ54l2+ydRJw deICBMrGutAQgccb+s3Y0673R27yUyaSMk73UAmjZF5deA/qUFm7888IHBFH3L7ffH6q 90kByGctKmD5Ib64X0sHhh6PL3l2beNjnb3tfjCvPVMiAy9q5yCgIcIHr+VurpCGNcl8 netKF8Sjc5wj7WbDZJuJmIJAWU+VZJPb4Q8YhBqyco0sh/ZOuFh4c4Aaknj4GNdPJiJt 3UPe77MiFxqIwp1J3z0xSoixHsMWEeDAehNImCJXaxcuocAKUWJASFS3h+GVsbmZIfSL c1gg==
X-Received by 10.236.20.133 with SMTP id p5mr16091429yhp.181.1430125360787; Mon, 27 Apr 2015 02:02:40 -0700 (PDT)
MIME-Version 1.0
From Yann Kaiser <kaiser.yann@gmail.com>
Date Mon, 27 Apr 2015 09:02:40 +0000
Subject Clize 3.0b1: An argument parser that draws a CLI from your function sigature
To python-list@python.org
Content-Type multipart/alternative; boundary=001a11c1ddc21d38970514b1025c
X-Mailman-Approved-At Mon, 27 Apr 2015 11:09:43 +0200
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.40.1430125783.3680.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430125783 news.xs4all.nl 2897 [2001:888:2000:d::a6]:34310
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89452

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello everyone!

After a few years in development, I am proud to say Clize is landing its
feet again and is now in beta for an upcoming release.

You can try it out using    pip install --user clize=3.0b1    and you can
browse the docs at    https://clize.readthedocs.org/

For those who'd like an explanation before clicking links, here's Clize's
5-bullet point explanation:

* Command-line interfaces are created by passing functions to `clize.run`.
* Parameter types are deduced from the functions' parameters.
* A ``--help`` message is generated from your docstrings. (Why does this
still need to be a bullet point?)
* Decorators can be used to reuse functionality across functions.
* Clize can be extended with new parameter behavior.

I am primarily looking for feedback on the documentation contents, and I
need to source a FAQ page, but any feedback is welcome!

If you are into that sort of thing, I've also just set up a G+ community
for it at: https://plus.google.com/communities/101146333300650079362

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Clize 3.0b1: An argument parser that draws a CLI from your function sigature Yann Kaiser <kaiser.yann@gmail.com> - 2015-04-27 09:02 +0000
  Re: Clize 3.0b1: An argument parser that draws a CLI from your function sigature Javier <n@nspam.net> - 2015-04-27 16:22 +0000

csiph-web