python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

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

Results 210 python-fire issues
Sort by recently updated
recently updated
newest added

### Summary This PR adds a new example module `calculator_tools` to the `examples/` directory. The design follows the exact structure and style of the existing `cipher` example, including licensing headers,...

### Summary This PR adds a new example module `string_tools` in the `examples/` directory. It demonstrates how to expose multiple string utility functions as a Fire CLI. ### Details -...

## Summary This PR addresses issue #633 by adding a new documentation section on handling missing arguments in Python Fire CLIs. ## Changes - Added a new "Handling Missing Arguments"...

### Problem Currently, Python Fire CLI tools require all configuration to be passed via command-line arguments. For sensitive data or frequently used configurations, this can be cumbersome and insecure. ###...

## Description When a required function argument is not provided via the command line, Python Fire raises a generic TypeError that doesn't clearly indicate which argument is missing or how...

Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version. Release notes Sourced from hypothesis's releases. Hypothesis for Python - version 6.141.1 Fixes an error when using the Ghostwriter with...

dependabot

Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version. Commits 4cab7ca Bump pylint to 3.3.9, update changelog 81fb483 [Backport maintenance/3.3.x] Extend catching of ValueError to 3.12.5+ (#10611) 1ef673b [Backport...

dependabot

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. Release notes Sourced from pytest's releases. 8.4.2 pytest 8.4.2 (2025-09-03) Bug fixes #13478: Fixed a crash when using console_output_style{.interpreted-text role="confval"}...

dependabot

With argparse, you can do: ``` > python example.py --this 123 > python example.py --this 123 456 > python example.py --this 123 456 789 ``` With Fire, how do you...

This is pretty self-explanatory: ``` > python -c 'import fire; fire.Fire(lambda x: print(repr(x)))' 'qgm#123' 'qgm' ```