google/python-fire

Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 60 minutes ago
Added to GitGenius on September 2nd, 2026
Created on February 21st, 2017
Open Issues & Pull Requests: 196 (+0)
GitHub issues: Enabled
Number of forks: 1,493
Total Stargazers: 28,215 (+0)
Total Subscribers: 367 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 25.4 days
Mean response time: 229.3 days
90th percentile: 812.8 days
Tracked items: 47

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 32
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,013 days
Stale 30+ days: 29
Stale 90+ days: 23

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (4)
  • bug (3)
  • documentation (3)
  • help wanted (2)

Detailed Description

Python Fire is a library for automatically generating command line interfaces from Python objects.

Python Fire solves the problem of manually writing CLI argument parsing and help text by inspecting any Python object—functions, classes, modules, dictionaries, lists, or custom objects—and automatically exposing its interface as a command-line tool. The approach requires only a single call to fire.Fire() with the target object, eliminating boilerplate code that would otherwise be needed with traditional argument parsing libraries.

The tool suits developers who want to quickly expose Python code as a CLI without learning a dedicated framework, those debugging or exploring existing code interactively, and teams transitioning between Bash and Python workflows. It works equally well for simple one-off scripts and for turning third-party code into usable command-line tools. The library supports interactive REPL mode, shell completion generation, and detailed help output, making it practical for both development and production use.

The project maintains a stable, focused codebase with minimal churn, suggesting a mature tool that has settled into its design. Development activity is sparse, indicating the project is feature-complete and requires little ongoing maintenance.