Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 02 04:31
    arthur-rtzr opened #62
  • Mar 12 14:55
    TomekTrzeciak commented #3
  • Feb 05 18:52
    timcera commented #3
  • Dec 13 2020 14:51
    nodakai commented #61
  • Dec 13 2020 14:44
    coveralls commented #61
  • Dec 13 2020 14:42
    nodakai opened #61
  • Aug 22 2020 00:49
    richieadler opened #60
  • Jul 04 2020 03:30
    jnoortheen opened #59
  • May 31 2020 22:47

    epsy on nightly-to-py310

    (compare)

  • May 31 2020 22:47

    epsy on master

    travis: add python 3.10 (compare)

  • May 31 2020 22:47
    epsy closed #15
  • May 31 2020 22:43

    epsy on nightly-to-py310

    (compare)

  • May 31 2020 22:43
    epsy opened #15
  • May 31 2020 22:42

    epsy on nightly-to-py310

    travis: add python 3.10 (compare)

  • May 31 2020 22:39

    epsy on master

    travis: add python 3.10 (compare)

  • May 31 2020 22:39
    epsy closed #58
  • May 31 2020 22:38
    coveralls commented #58
  • May 31 2020 22:35
    epsy opened #58
  • May 31 2020 22:32

    epsy on nightly-to-py310

    travis: add python 3.10 (compare)

  • Mar 02 2020 03:41

    epsy on travis-py39

    (compare)

Yann Kaiser
@epsy

Hello world! Welcome to the Gitter chatroom for Clize(http://clize.rtfd.org).

Feel free to request support for Clize below!

Paul Ivanov
@ivanov
Clize looks cool, @epsy !
Yann Kaiser
@epsy
Thanks :+1:
Yann Kaiser
@epsy

Clize 3.1b1 is out!

Changes since 3.0:

  • Clize supports all aspects of sigtool's automatic signature discovery,
    meaning decorators are now automatically processed without requiring
    wrapper_decorator
  • The CLI shows a suggestion when the user misspells an option (@karanparikh)
  • The documentation examples now focus on Python 3 first.
  • Moved some of the test code to a separate package: repeated_test
Yann Kaiser
@epsy
Clize 3.1 is released! See above for the changelog.
Chris Angelico
@Rosuav
Heya! Point of curiosity: Is there an easy way to do "level" options, eg "-v" for verbose or "-vv" for more verbose?
I can't find anything about it in the docs, but it'd be a cool feature
(In argparse, it's action="count")
Yann Kaiser
@epsy
Argh, the one time somebody asks here, my notifications weren't on :)
@Rosuav No, there isn't a clean way provided. You might be able to do something out of the box using parameters.multi and a flag
@Rosuav ah, unfortunately not, it only produces one True. You can create a new parameter type ; I'd consider a PR that adds this
Chris Angelico
@Rosuav
Thanks, good to know.
I don't remember what I needed that for, now. Heh.
Yann Kaiser
@epsy
I'd say... verbosity? :) Haha
Chris Angelico
@Rosuav
Yeah but I don't remember the project that wanted it
BTW, Glitter? https://xkcd.com/1810/
Yann Kaiser
@epsy
Hm I remember thinking something was missing from it this morning, but I think it was Telegram and I had actually found it thereafter
I thought you were pointing out a typo for a second, haha
Chris Angelico
@Rosuav
Heh, no. Just... yet another way to communicate
Well, I started using Clize after I stopped doing my own one with docstringargs
(which is still on PyPI, but I'm not doing anything with it)
Yann Kaiser
@epsy
I remember :)
Chris Angelico
@Rosuav
argparse is great, but so fiddly to configure. It needs a wrapper.
Yann Kaiser
@epsy
hmm I came across one that was like clize but argparser-based
must be 'argh'
Benjamin Leopold
@cometsong
@epsy (and/or others) - I'm trying to write a program using the attr library (https://attrs.readthedocs.io) and clize in concert with each other... is this possible? I'm at the beginning of combining usage of these two.
I noticed you also have an attr module inside clize. Looking into using that instead. Does it also remove the need for the many "dunder" methods?
Benjamin Leopold
@cometsong
oops, i meant the attrs "class without boilerplates" that it seems you've got copied into the rtfd module_code attr_make