Python Fire v0.3.0 Release Notes

Release Date: 2020-03-24 // about 3 years 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