Skip to content

v0.3.0

Compare
Choose a tag to compare
@dbieber dbieber released this 24 Mar 17:12
· 110 commits to master since this release

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