health从pypi列表中检查python包的运行状况

health的Python项目详细描述


health从pypi列表中检查python包的运行状况

https://api.travis-ci.org/dustinmm80/healthy.png

根据以下公式,对该软件包进行评分:

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java为什么活动性/就绪性探测失败?   安卓上的java缩放图像   java如何切换一个类或改进它   java如何使用BouncyCastle lightwigth API生成cms封装数据   java如何构建pom。从github下载的maven项目中的xml?   java如何在允许扩展的同时,将具有不同字段计数的分隔文本行解析到对象中?   连接到网站jsoup项目中的java错误(类型jsoup的方法connect(字符串)未定义)   反射获取java。调用方法时发生lang.NullPointerException。援引   带有构造函数参数的java Spring自动关联依赖项   java Android:使用双数组时如何识别按钮?   java Maven无法获取可执行jar:无法加载主类   java SonarQube问题:重命名此常量名称以匹配正则表达式“^[AZ][AZ09]([AZ09]+)$”   java如何将Jbutton从另一个类添加到主类   java当我在排序后尝试在数组中插入值时,得到的默认值为0   java,try块在操作来自try作用域上方作用域的变量时产生错误   java如何用easy mock模拟消费者链接?