Re:Gooey: Turn almost any Python command line program into a...
by roganartu on Monday June 14, 2021 @09:15AM
(#27502122)
If you like the look of fire for the ease of creating a cli but wish it automatically did validation based on type annotations, you might like Typer[0]. The pathlib parameters are especially handy, I find.
Re:Gooey: Turn almost any Python command line program into a...
by franga2000 on Monday June 14, 2021 @11:00AM
(#27503384)
You had me at pathlib! I wish people used it more...
Re:Gooey: Turn almost any Python command line program into a...
by roryokane on Monday June 14, 2021 @11:46PM
(#27511047)
For anyone who doesn’t know what pathlib is: https://docs.python.org/3/library/pathlib.html
Re:Gooey: Turn almost any Python command line program into a...
by vorticalbox on Monday June 14, 2021 @02:30PM
(#27506332)
I love fastapi I wish I knew about this before!
Re:Gooey: Turn almost any Python command line program into a...
by miohtama on Monday June 14, 2021 @07:03PM
(#27509465)
I also recommend checking out Clicky. It is similar to Fire, but has been out there for very long time and has some more power features and documentation.
Today I learned about Fire AND Gooey
Sometimes I get bogged down in writing proper argparse when it really is not needed.
Are there any edge cases where Fire does not work too well, like some strange parameters (for example tuple as dictionary key)?