Download Latest Version Python Fire v0.7.0 source code.zip (153.4 kB)
Email in envelope

Get an email when there's a new version of Python Fire

Home / v0.4.0
Name Modified Size InfoDownloads / Week
Parent folder
Python Fire v0.4.0 source code.tar.gz 2021-01-22 104.2 kB
Python Fire v0.4.0 source code.zip 2021-01-22 152.5 kB
README.md 2021-01-22 915 Bytes
Totals: 3 Items   257.6 kB 0

Changelist

  • Support for Python 3.8 and Python 3.9
  • Argument types and defaults appear in help text
  • Support for asyncio coroutines
  • Support for modules and Python files with python -m fire
  • Keyword argument info from rst docstrings appears in help text
  • Bug fix for missing parts of multiline argument descriptions from Google and Numpy style docstrings.
  • Packaging of enum34
  • Support functions even when they override getattr in non-standard ways. (e.g. supports BeautifulSoup)

Highlighted change: python -m fire

You can use Python Fire without ever modifying your code. To use it, first install Python Fire with pip install fire. Then simply run python -m fire path/to/yourfile.py or python -m fire path.to.yourmodule.

This is both a fast way to use Python Fire to create a CLI from your code, and a way to apply Python Fire quickly to a codebase you don't have access to.

Source: README.md, updated 2021-01-22