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 197 python-fire issues
Sort by recently updated
recently updated
newest added

Some light refactoring and clean-up * Remove excessive if/else * f-name function use where possible

Mention that the ipython package is an optional requirement for using the IPython REPL, as described in the [source file](https://github.com/google/python-fire/blob/master/fire/interact.py#L17).

documentation

Should either print the returned value or join and return. Otherwise, the output in the example won't get generated.

This should make the logging for robust and allow for the suppressing and redirection of messages

Sometimes, we have a very long file of utilities, we want to expose all functions except some names. It would be useful to have this to filter out some exposure....

enhancement

It would be useful to have import mymodule fire.Fire(mymodule) ---> expose all this mymodule

I'm investigating how to package a single file application with fire at the moment. It seems that in order to have pip install the requirements, a `setup.py` files needs to...

enhancement
help wanted

### Environment Python 3.9.2 `fire==0.4.0` ### Example Script I have the following example `script.py`: ```python import fire class Foo: def __init__(self): print("__init__") def bar(self, param=0): print(f"bar (param={param})") return self def...

help wanted

https://github.com/google/python-fire/blob/c1266d0dbb2114514fcf8be62044344b5a51c733/fire/core.py#L239 https://github.com/google/python-fire/blob/c1266d0dbb2114514fcf8be62044344b5a51c733/fire/core.py#L287 When I get the help message, includes INFO: messages like: INFO: Showing help with the command {cmd} I would like such logging messages to use Python's logging framework...

enhancement
help wanted