google/python-fire
View on GitHub ↗ ★ 28,226 Python
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
38 mentions on Hacker News by 33 people: 15 stories, 23 comments · first 2017-03-03 · latest 2026-06-24
20082026
-
…by Google employees as part of their job. Even some other tools in github.com/google have as much: https://github.com/google/python-fire / https://github.com/google/pytype/blob/main/docs/index.md / https://github.com/google/dopamine /…
comment by whstl · 2026-06-24 · in Fired by Google for creating the Google workspace CLI -
…projects with similar disclaimers under Google's own /google/ organization. To give a few examples: https://github.com/google/python-fire / https://github.com/google/pytype/blob/main/docs/index.md / https://github.com/google/dopamine /…
comment by whstl · 2026-06-24 · in Fired by Google for creating the Google workspace CLI -
I've been making zero-cost Python CLIs with this for years: https://github.com/google/python-fire
comment by philomath_mn · 2024-06-04 · in Python's many command-line utilities -
…for automatically generating command line interfaces (CLIs) from absolutely any Python object. [1] https://github.com/google/python-fire
comment by selcuka · 2024-06-04 · in Python's many command-line utilities -
The cli tool [fire]( https://github.com/google/python-fire/blob/master/docs/guide... ) has a nifty feature where it can generate a cli for any file for you. So random and math are somewhat usable that way $ python -m fire random uniform 0…
comment by TelonAlex · 2023-06-29 · in CLI tools hidden in the Python standard library -
Fire can basically do the first step (object -> CLI): https://github.com/google/python-fire Gooey can do (CLI -> GUI): https://github.com/chriskiehl/Gooey
comment by dr-neptune · 2022-09-22 · in Show HN: Rocketry – Statement-based scheduling framework for Python -
▲ 5
Python-Firestory by manjana · 2022-01-01 · 0 comments
-
…functions. There may be some limitations compared to Piou, I will have to explore that to find out. https://github.com/google/python-fire
comment by d4rkp4ttern · 2021-12-25 · in Show HN: Piou – Build beautiful command-line interfaces with type validation -
▲ 1
Python Fire, automatic generation of CLIs from Python objectsstory by okl · 2021-12-16 · 0 comments
-
Python-fire is a great package for this. Will look into bargeparse https://github.com/google/python-fire
comment by d4rkp4ttern · 2021-10-09 · in Free resources to promote your next startup -
…the documentation instead of the other way around Click (3) And my own commandeer (4) Typer (5) (1) https://github.com/google/python-fire (2) http://docopt.org/ (3) https://click.palletsprojects.com/en/8.0.x/ (4)…
comment by shezi · 2021-10-09 · in Free resources to promote your next startup -
▲ 2
Fire: Automatically generate CLIs from any Python objectstory by trueduke · 2021-06-14 · 0 comments
-
…into a CLI without all the manual parameter parsing, and Gooey turns the CLI into a simple GUI. [0] https://github.com/google/python-fire
comment by frederikvs · 2021-06-14 · in Gooey: Turn almost any Python command line program into a GUI application -
…devs (it's not an official Google project as far as I remember), so it seems of reasonable quality. https://github.com/google/python-fire
comment by oblio · 2021-01-15 · in My preferred .NET console stack -
…typer, your description is reminiscent of fire [1], which has worked well for our purposes. [1]: https://github.com/google/python-fire
comment by gen220 · 2020-12-30 · in Top Python libraries of 2020 you should know about -
…depending on the complexity of your argparse-usage it might check 90% of your boxes for you. [1]: https://github.com/google/python-fire
comment by gen220 · 2020-10-08 · in Tools I use: argparse builder -
You might want to look at Google’s python fire which makes this sort of thing obsolete. https://github.com/google/python-fire Just comment your code and get pretty arguments.
comment by riddleronroof · 2020-10-08 · in Tools I use: argparse builder -
…you to drive classes with a MP-generated CLI. [0] https://www.attrs.org/en/stable/examples.html [1] https://github.com/google/python-fire
comment by gen220 · 2020-07-13 · in Real World Programming in SWI-Prolog -
I personally enjoy using https://github.com/google/python-fire nowadays. -- it's probably not the most flexible tool, but IMHO it's the one with the best API: fire.Fire(obj) and everything else is taken care of ;) p.s.: for lazy imports,…
comment by fabioz · 2020-05-28 · in Hypermodern Python -
▲ 24
Google open sources library to generate CLIsstory by reubensutton · 2019-12-06 · 2 comments
-
Someone above posted this: https://github.com/google/python-fire seems you could generate something with fire tool and then parse it dynamically with Gooey.
comment by proc0 · 2019-09-23 · in Using Gooey as a Universal Front End for Any Language or CLI Application -
…for automatically generating command line interfaces (CLIs) from absolutely any Python object. https://github.com/google/python-fire
comment by carapace · 2019-09-22 · in Using Gooey as a Universal Front End for Any Language or CLI Application -
…(holy moly decorators). Seems unwieldy to me, but does anyone have experience with both? [0] https://github.com/google/python-fire
comment by kylek · 2019-08-18 · in Easy Python CLI with Click -
…Especially since fire works by reading through a file. Also nice work on the NamedTuple support ( https://github.com/google/python-fire/pull/161 ) I never knew fire had support for completion. Nice!
comment by git-pull · 2019-07-27 · in Show HN: Python Fire v0.2.0 -
▲ 4
Show HN: Python Fire v0.2.0story by dbieber · 2019-07-26 · 1 comment
-
…argument parsing boilerplate in Python, I have found Python Fire to be much more convenient: https://github.com/google/python-fire It would have shaved off another 15-20 lines from the 503 line example ;-)
comment by ssivark · 2019-03-14 · in Write yourself a Git (2018) -
▲ 252
Python Fire – Generates CLIs from any Python objectstory by tzury · 2018-08-17 · 35 comments
-
…- https://github.com/channelcat/sanic - https://github.com/pypa/pipenv - https://github.com/google/python-fire - https://github.com/explosion/spaCy
comment by yoricm · 2018-07-25 · in Ask HN: What are the best open source GitHub repos using python 3? -
▲ 1
Google Python Fire – Generate CLIs from Any Python Objectstory by tzury · 2018-01-10 · 0 comments
-
Click is nice, but for my money, Fire is what Click should have been. https://github.com/google/python-fire
comment by stedalus · 2017-11-14 · in Show HN: Datasette – Create and publish an API for SQLite databases -
▲ 2
Python-Fire: Automatically Generate CLIs from Python Objectsstory by craigkerstiens · 2017-05-22 · 0 comments
-
▲ 2
Python Fire: a library for creating CLIs from absolutely any Python objectstory by happy-go-lucky · 2017-03-11 · 0 comments
-
▲ 1
Creating command line interfaces (CLIs) from any Python objectstory by sean_the_geek · 2017-03-08 · 0 comments
-
▲ 2
Automatically generating command line interfacesstory by snickmy · 2017-03-07 · 0 comments
-
▲ 4
Google's Python Fire – a library for creating CLIs from any Python objectstory by adenadel · 2017-03-06 · 0 comments
-
▲ 2
Python Fire is a library for automatically generating command line interfacesstory by uyoakaoma · 2017-03-05 · 0 comments
-
▲ 4
Python Fire – library for automatically generating CLI from any Python objectstory by jonbaer · 2017-03-04 · 0 comments
-
▲ 2
Python Fire: Automatically generate s CLIs from absolutely any Python objectstory by rkda · 2017-03-03 · 0 comments