Python Client Library for Dependency Health API
Project description
Python Client Library for Dependency Health API
Dependency Health provides data about open-source package health. It could be used in a CI/CD pipeline or as an IDE plugin.
Installation
pip3 install dependencyhealth
Usage
from dependencyhealth.npm import Client
import json
import os
dh = Client(token=os.getenv("DH_TOKEN"))
health_data = dh.check_package("@angular/core")
print(json.dumps(health_data, indent=2))
{
"age": 7,
"versions": 711,
"maintainers": 2,
"dependencies": 1,
"health": 95,
"security": "no known security issues",
"popularity": "key ecosystem project",
"maintenance": "healthy",
"community": "active",
"name": "@angular/core",
"updated_at": "2023-07-14T13:37:37.573865Z"
}
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
dependencyhealth-0.0.3.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for dependencyhealth-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac34bcd3af2d03e80ac8fdd3fe7dc0650942ca1685d529cc271e4c00f96eaf26 |
|
MD5 | 106830b25d248b0852fe805e9e75855d |
|
BLAKE2b-256 | 4243e2a5c3e5c447c9615824d39c75922986fa1ae7544b39c214cb54c1f39f4c |