Skip to main content

healthy checks the health of a Python package from its pypi listing

Project description

healthy checks the health of a Python package from its pypi listing

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

The package is given a score, based on this formula:

Starting score                      = 100
No license                          - 20
No release files                    - 20
No download url/homepage            - 10
No updates in a year                - 15
No updates in 6 months              - 10 (not deducted if year penalty has already been applied)
No summary                          - 10
No description                      - 10
No author name or email             - 10
No Python compatibility classifiers - 10

Results are color coded, based on the score

Usage

The simplest command you can run is

healthy Flask

This will check the latest version of Flask, and give you back its score.

To check a specific version of a package with verbose output

healthy Flask 0.8 -v

There are 3 optional parameters

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

Sample Output

healthy Django 1.2.1 -v

Django v1.2.1
-----
score: 45
No License
Description is missing
Python classifiers missing
Package not updated in 360 days

Use Case

healthy can be used when you are trying to choose a package from a number of options. With healthy you can quickly gauge the risk and benefit of one package over the other and make your decision easier.

Installation

pip install healthy

Supports Python 2.7, 3.2, 3.3

Python <=2.6, 3.0 and 3.1 are not supported, they don’t have argparse

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

healthy-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file healthy-0.1.1.tar.gz.

File metadata

  • Download URL: healthy-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for healthy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62e32e5f823cdd5d42fb6c328470441df11b36d2560cb285b57c7dafd067a480
MD5 a29b4ddf68d906355ecf89522026b1b0
BLAKE2b-256 21c1bc7093db25566791cd9992afac4bea2c73c2c4dcb92f65af37b1ae63a3fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page