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(key=os.getenv("DH_API_KEY"))
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.1.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for dependencyhealth-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b05b1be2131f0a95b67f3d28780a316f2de6e8d0a44e5a432e8df036ae75f87 |
|
MD5 | ca065ffcf0c927777579124593f81542 |
|
BLAKE2b-256 | 8b4effbd3981cd8988b8b618f04d7a262b6086f20d53b6bf4b7e517e93d08f5f |