New
v0.3.0
Assorted Improvements in Python Fire v0.3.0
- Use Fire on third-party code without making any code changes:
python -m fire <module> - Docstring parsing fix for all lines are blank f01aad347632791e3438c1a753e42a514520d690
- Improved parsing of numpy-style docstrings
- #187 Expose built-in functions from the standard library (e.g. sin, cos)
- #149 Support objects implementing __getattr__
- #205 Fix ctrl-C handling in help screens
- Support functools.wraps and lru_cache decorated functions
- Better support for objects with properties
- Objects with custom __str__ are now treated as Values. E.g. If such an object appears in a dict, the dict will still print in line-by-line mode rather than showing a help screen by default.
- Formatting on Windows works properly now