python-fire
python-fire copied to clipboard
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Hi friends! Thanks as always for this _amazing_ library; it's really made building CLIs in Python a breeze. One thing I've noticed recently: when `Fire`-ing a function with an argument...
Right now I ended up with a following approach ( not sure if it the best): ```python import fire import foo import bar def foo(*args): Foo(*args).configure() def bar(*args): Bar(*args).configure() def...
:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....
I noticed there is a TODO in `_PrintResult` to provide better handling of output formatting, but this is a quick an easy way to allow end-users to provide their own...
I needed utf-8 and I found no other way than to include the complete repo in my project. Does it look like a good idea in general?
Hi, The mock object library has been integrated into the unittest module in python3.x, so I try to add extention like this. `try:` import mock # python 2.x `except ModuleNotFoundError:`...