Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. Current version is 0.1.0. Release cadence is irregular; last release was in 2018.
pip install python-fireNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic CLI generation from a function.
Use Fire alone for CLI entry points, or call fire.Fire() only when __name__ == '__main__'.
Provide explicit help strings or use docstrings to guide parsing.
Migrate to Typer (pip install typer) for modern CLI generation.
Use 'import fire' then call 'fire.Fire(function)'.
Use classes with Fire by calling fire.Fire(ClassName) and ensure methods return strings or use --help.
No dependency data recorded yet.