github上方便的小工具

python中的fire模块

它可以对所有Python 对象,包括functions, classes, modules, objects, dictionaries, lists, tuples,自动生成命令行交互接口

Install

  • To install Python Fire with pip, run: pip install fire

  • To install Python Fire with conda, run: conda install fire -c conda-forge

  • To install Python Fire from source, first clone the repository and then run: python setup.py install

Reference

https://github.com/google/python-fire

猜你喜欢

转载自www.cnblogs.com/icodeworld/p/11452752.html