Python Fire v0.3.0 Release Notes

Release Date: 2020-03-24 // over 1 year ago
  • 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 f01aad3
    • ๐Ÿ‘Œ 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