Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 17 20:30
    epsy closed #54
  • Oct 17 20:30
    epsy commented #54
  • Oct 17 20:30

    epsy on v4.1.1

    (compare)

  • Oct 17 20:30

    epsy on master

    version 4.1.0 setup: set description for pypi… version 4.1.1 (compare)

  • Oct 17 20:30
    epsy closed #55
  • Oct 17 20:29
    coveralls commented #55
  • Oct 17 20:24
    epsy opened #55
  • Oct 17 20:23

    epsy on v4.1.1

    version 4.1.0 setup: set description for pypi… version 4.1.1 (compare)

  • Oct 17 20:21

    epsy on 4.1.1

    version 4.1.0 setup: set description for pypi… version 4.1.1 (compare)

  • Oct 17 20:21

    epsy on 4.1.0

    version 4.1.0 (compare)

  • Oct 17 20:19
    TomekTrzeciak opened #54
  • Oct 14 22:04
    epsy opened #12
  • Sep 24 04:44

    epsy on update-ci

    (compare)

  • Sep 24 04:44

    epsy on master

    fix pypy3 test compatibility update travis config fix long_description missing on… and 1 more (compare)

  • Sep 24 04:44
    epsy closed #11
  • Sep 24 04:38
    epsy synchronize #11
  • Sep 24 04:37

    epsy on update-ci

    fix pypy3 test compatibility update travis config fix long_description missing on… and 1 more (compare)

  • Sep 23 01:53
    epsy opened #11
  • Sep 23 01:52

    epsy on update-ci

    update travis config fix long_description missing on… error on warnings in tests (compare)

  • Sep 08 00:56

    epsy on warn-error

    (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
Yann Kaiser
@epsy
Clize uses attrs as a dependency. It seems sphinx may have made an html page for it when rendering the source code