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

# Goal [x] Solve [issue300](https://github.com/google/python-fire/issues/300) [x] Let python-fire respect function's type annotations, and cast arguments into right types. [x] Solve [issue64](https://github.com/google/python-fire/issues/64) # Status 1. If exists annotation, simple type (str,...

cla: no

Typeguard https://github.com/agronholm/typeguard makes it very easy to add annotation-based type checking that uses the full gamut of what `typing` offers, with just a decorator, for example. Using the type checking...

Consider the following example: ``` import fire def test(a=1, b=1): """ Returns the sum of a and b. :param a: The first parameter :param b: The second parameter """ return...

Passes: `parser_test.py` `parser_fuzz_test.py (?)` `main_test.py` We are not Python programmers primarily, so do let us know if there are fragments of code that can be rewritten in Python to make...

cla: yes

In version 0.3.1 when user attempts to raise error in the `__init__` method the effective error that gets printed is about missing `self` argument. Minimal example: ``` import fire from...

It would be nice to have wheels on PyPI https://pypi.org/project/fire/#files so users don't have to generate them locally. This is somewhat related to #341, but it's a separate issue.

Trying to install fire on a fresh environment ends produces this error: ``` Building wheels for collected packages: fire Building wheel for fire (setup.py) ... error ERROR: Command errored out...

I make a change according to #333. Tested it and everything is correct. @dbieber could you please review it? Thank you.

cla: yes

A recent modification added a call to `SetConsoleMode` that enables virtual terminal processing on Windows. This change prevents parent processes from receiving ANSI escape codes in the stdout of child...

Implement [this](https://github.com/google/python-fire/issues/188#issuecomment-820626046) comment. Fixes #188

cla: yes