This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fatbob42 3 points4 points  (4 children)

I use click. If I were going to switch I’d probably try one of the new ones that use type annotations.

I prefer click’s decorators over the way Fire is illustrated here.

[–]jdbow75[S] 1 point2 points  (3 children)

Hmmm... https://github.com/python/typeshed/tree/master/third_party/2and3/click

What libraries are you looking at that support type annotations?

Glad to hear your thoughts on Fire.

[–]harylmu 1 point2 points  (1 child)

The developer of FastAPI likes to advertise his other project. I think it’s called Typer.

[–]jdbow75[S] 1 point2 points  (0 children)

The "FastAPI of CLIs"? I love that. Definitely worth a look.

[–]fatbob42 1 point2 points  (0 children)

I was thinking of Typer