google/python-fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. observed · 2026-10-15
Health v2 · maintenance only
60/100
- Activity 82
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3528
- days_rel: 430
- days_push: 111
- n_releases_24m: 1
Adoption not part of the score
28222 stars · 1501 forks observed · 2026-10-15
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Python Fire is a Google library that automatically generates command line interfaces from any Python object, including functions, classes, modules, and data structures. It turns existing Python code into a usable CLI with help text and argument parsing without any boilerplate.
Use cases
- turn a python function into a cli command
- expose a class's methods as command-line commands
- quickly build a cli without writing argparse boilerplate
- debug and explore python code from the terminal
- convert an existing python module into a command-line tool
- set up a python repl with modules pre-imported
When to choose
- you want a CLI from existing Python code with zero boilerplate
- you need automatic help text and argument parsing from signatures and docstrings
- you're prototyping scripts or exploring code interactively
When to avoid
- you need fine-grained control over CLI UX, subcommand grouping, or custom help output
- you're building a polished end-user CLI tool with strict interface contracts
- you need high-performance argument parsing with complex validation
Facets
library · maturity stable
cli developer-tools developer-tools python cli cross-platform cli-generation argument-parsing google introspection repl command-line python
1 source
- readme: https://github.com/google/python-fire · fetched 2026-10-15 · 65237b8f7c97
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/python-fire | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="google/python-fire")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem