health从pypi列表中检查python包的运行状况
health的Python项目详细描述
health从pypi列表中检查python包的运行状况
根据以下公式,对该软件包进行评分:
Starting score = 0 Has license + 20 Has release files + 30 Has homepage + 10 Updated in last 6 months + 15 Has summary + 15 Has description + 30 Has author name or email + 10 Has Python classifiers + 15
根据分数,对结果进行颜色编码
用法
您可以运行的最简单的命令是
healthy Flask
这将检查最新版本的烧瓶,并返回其分数。
使用详细输出检查包的特定版本
healthy Flask 0.8 -v
有3个可选参数
package_version : positional, to check the health of a specific version of a package -v, --verbose : show reasons for the health scores the packages were given -n, --no-output : print no output to the terminal, useful for integrating healthy with other packages
样本输出
healthy Django 1.2.1 -v Django v1.2.1 ----- score: 85/145 58% Description missing Python classifiers missing Package not updated in 180 days
用例
healthy可以在尝试从多个选项中选择包时使用。使用healthy您可以 快速评估一个包相对于另一个包的风险和收益,使您的决策更容易。
安装
pip install healthy
支持Python2.7、3.2、3.3
不支持python<;=2.6、3.0和3.1,它们没有argparse