首页 > IT资讯 > 正文

命令行接口自动生成库,Python Fire 0.1.1 发布

Python Fire 是 Google 开源的一个可从任何 Python 代码自动生成命令行接口(CLI)的库。


Python Fire 是一种在 Python 中创建 CLI 的简单方法。


Python Fire 是开发和调试 Python 代码的有用工具。


Python Fire 帮助探索现有代码或将其他人的代码转换为CLI。


Python Fire 使 Bash 和 Python 之间的转换更为容易。


Python Fire 通过使用你需要导入和创建的模块和变量来设置 REPL,使得使用 Python REPL 更容易。


Python Fire 0.1.1 更新内容如下:


新特性


The Python Fire Guide is available


Support for annotations in functions


Support for keyword-only arguments in functions


Faster loading via lazy imports


Bug 修复


Serialize empty dictionaries


Serialize dictionaries with circular dependencies


Support non-comparable objects, numpy arrays, etc


Help for objects without source files


Completion scripts for top-level functions


下载地址:


Python Fire (zip)


上一篇:Python网页正文结构化提取库:jparser 0.0.11发布
下一篇:生命还剩最后一年 这名抗癌公司 CEO 决定写下他的忠告

PythonTab微信公众号:

Python技术交流互助群 ( 请勿加多个群 ):

群1: 87464755

群2: 333646237

群3: 318130924

群4: 385100854