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

2015-05-13 Thread Yann Kaiser
And... 3.0 is released! :-) Feel free to contact me or reply should you encounter any issues! http://clize.readthedocs.org/en/3.0/releases.html#v3-0 On Mon, 27 Apr 2015 at 02:02 Yann Kaiser wrote: > Hello everyone! > > After a few years in development, I am proud to say Clize is landing its >

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

2015-04-28 Thread Yann Kaiser
On Tue, 28 Apr 2015 at 19:16 Chris Angelico wrote: > On Wed, Apr 29, 2015 at 11:55 AM, Yann Kaiser > wrote: > > I'm aware of the pattern, and I don't really like it, especially because > it > > gets weird when multiple modules are involved. You'd have to import > modules > > because they have a

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

2015-04-28 Thread Yann Kaiser
On Mon, 27 Apr 2015 at 22:30 Ethan Furman wrote: > On 04/28, Chris Angelico wrote: > > > That's a lot of separate pieces. Here's the docstringargs equivalent: > > > > https://github.com/Rosuav/snippets/blob/dsa/snippets.py > > Just for grins, here's that using Scription: > > -- 8< ---

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

2015-04-28 Thread Yann Kaiser
On Mon, 27 Apr 2015 at 17:04 Chris Angelico wrote: > On Mon, Apr 27, 2015 at 7:02 PM, Yann Kaiser > wrote: > > 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 us

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

2015-04-28 Thread Yann Kaiser
On Mon, 27 Apr 2015 at 20:28 Chris Angelico wrote: > On Tue, Apr 28, 2015 at 12:45 PM, Yann Kaiser > wrote: > > On Mon, 27 Apr 2015 at 17:04 Chris Angelico wrote: > >> Interesting. I've also been working on a simpler arg handling module; > >> maybe we can work together. The goals for mine are:

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

2015-04-28 Thread Chris Angelico
On Wed, Apr 29, 2015 at 11:55 AM, Yann Kaiser wrote: > I'm aware of the pattern, and I don't really like it, especially because it > gets weird when multiple modules are involved. You'd have to import modules > because they have a side-effect of adding stuff to a list rather than import > things s

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

2015-04-27 Thread Ethan Furman
On 04/28, Chris Angelico wrote: > That's a lot of separate pieces. Here's the docstringargs equivalent: > > https://github.com/Rosuav/snippets/blob/dsa/snippets.py Just for grins, here's that using Scription: -- 8< """Store an

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

2015-04-27 Thread Chris Angelico
On Tue, Apr 28, 2015 at 12:45 PM, Yann Kaiser wrote: > On Mon, 27 Apr 2015 at 17:04 Chris Angelico wrote: >> Interesting. I've also been working on a simpler arg handling module; >> maybe we can work together. The goals for mine are: >> >> * Each function should be as independent as possible. > >

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

2015-04-27 Thread Chris Angelico
On Mon, Apr 27, 2015 at 7:02 PM, Yann Kaiser wrote: > 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 usingpip install --user clize=3.0b1and you can > browse the doc

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

2015-04-27 Thread Javier
It would be nice if it could automatically generate the python code for 'clizing a function', i.e., from the example in https://clize.readthedocs.org/en/latest/ def hello_world(name=None, no_capitalize=False): ... being able to do clize.generate_py_code(hello_world) which would return somet

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

2015-04-27 Thread Yann Kaiser
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 usingpip install --user clize=3.0b1and you can browse the docs athttps://clize.readthedocs.org/ For those who'd like an e