google/python-fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 90
- Release rhythm 11
- 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-09-03. Adoption (stars, forks) is never an input.
- gap_med: 319
- age_days: 3480
- days_rel: 382
- days_push: 63
- n_releases_24m: 2
Adoption not part of the score
28208 stars · 1491 forks observed · 2026-08-28
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-08-28 · 65237b8f7c97
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/python-fire | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="google/python-fire")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem