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如何在Android中录制视频,只允许横向模式和最长时间录制时间   java从另一个活动发送实时消息   多线程java线程和互斥   java禁用Spring安全日志   JAVA伊奥。StreamCorruptedException:在与子级和父级ProcessBuilder通信时写入子级中的标准输出时,流头无效   使用Java(HttpURLConnection)对Restheart进行身份验证(对于Mongodb)   java如何解决Jenkins中的SAXParseException?   java为什么我需要mockito来测试Spring应用程序?   计算sin-cos和tan时缺乏精度(java)   java Hibernate。不同项目中相同一对一映射的不同行为   java图像滑块:如何使用JavaFX将图像放在另一个图像上   java Mockito在使用when时抛出NotAMockException   http Java servlet发送回响应