Skip to main content

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)

Uploaded Source

Built Distribution

dependencyhealth-0.1.0-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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