3 ms·
Brilliant workflow! 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 e
by sireat 5y ago
Brilliant workflow!
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)?
- roganartu 5y agoIf 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. [0] https://github.com/tiangolo/typer https://github.com/tiangolo/typer
- franga2000 5y agoYou had me at pathlib! I wish people used it more...
- roryokane 5y agoFor anyone who doesn’t know what pathlib is: https://docs.python.org/3/library/pathlib.html https://docs.python.org/3/library/pathlib.html
- vorticalbox 5y agoI love fastapi I wish I knew about this before!
- high_byte 5y agoSame! TIL Fire & Gooey is a power move.
- deagle50 5y agoSame! Thanks.
- miohtama 5y agoI 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.