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
Built Distribution
File details
Details for the file dependencyhealth-0.1.0.tar.gz
.
File metadata
- Download URL: dependencyhealth-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
949ae314e5694f115fb3366dab3fbd3ff2f01e0c1ef08582666cd1a3cb6b2eb3
|
|
MD5 |
d4fd9d5b8622639b74a44727331ffabd
|
|
BLAKE2b-256 |
5bfe90bceb7e929340e75f81fdd9fcd819b9263b02fba6d3b7ae079e59be156a
|
File details
Details for the file dependencyhealth-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: dependencyhealth-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1b05b1be2131f0a95b67f3d28780a316f2de6e8d0a44e5a432e8df036ae75f87
|
|
MD5 |
ca065ffcf0c927777579124593f81542
|
|
BLAKE2b-256 |
8b4effbd3981cd8988b8b618f04d7a262b6086f20d53b6bf4b7e517e93d08f5f
|