跳转到主要内容

healthy检查Python包从其PyPI列表中的健康状况

项目描述

healthy检查Python包从其PyPI列表中的健康状况

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

这将检查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

支持Python 2.7,3.2,3.3

Python <=2.6,3.0和3.1不受支持,它们没有argparse

项目详情


下载文件

下载适合您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分发

healthy-0.1.2.tar.gz (6.4 kB 查看哈希)

上传时间

支持者