skillfed

whylabs-client

WhyLabs API client

whylabs-client v0.6.16 151.5K downloads/30d#10,928 on PyPI
Permissive license Apache License 2.0 DORMANT released

What it is and what it does

whylabs-client is an auto-generated Python wrapper around the WhyLabs API, a service for monitoring and observing AI models in production. It provides typed access to endpoints for managing dataset profiles, analyzer results, and reference profiles—the core building blocks of WhyLabs' observability platform. The package is built on urllib3 and python-dateutil, keeping dependencies minimal.

You use it by instantiating an API client with your WhyLabs credentials, then calling methods on API resource classes (like DatasetProfileApi) to interact with your organization's models and datasets. It's designed for teams that already use WhyLabs and need to automate monitoring workflows, query historical results, or integrate observability into CI/CD pipelines. The package is dormant—no active maintenance—so it works as-is for current API versions but won't adapt if WhyLabs changes their schema.

Use it for:

  • Automate deletion or retrieval of analyzer results and dataset profiles from a CI/CD pipeline or scheduled job.
  • Programmatically query reference profiles and model metadata as part of a monitoring dashboard or reporting tool.
  • Integrate WhyLabs observability checks into a model training or deployment workflow to validate data quality.
  • Build custom alerting or remediation logic that reacts to analyzer results fetched via the API.
  • Archive or migrate dataset profiles and results between WhyLabs organizations or environments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python client library for the WhyLabs API that provides programmatic access to AI observability features, automatically generated from OpenAPI specifications.

Yes, if you already use WhyLabs and need programmatic API access. The package is stable, has low install friction, and carries no known vulnerabilities. However, the dormant maintenance status means no updates for API changes or new WhyLabs features—install only if your use case aligns with the current API schema and you can tolerate no active support.

Install

whylabs-client on PyPI

pip

pip install whylabs-client

uv

uv add whylabs-client

poetry

poetry add whylabs-client

Installing whylabs-client

Before you install

Low install friction with only two lightweight runtime dependencies (urllib3, python-dateutil). Maintenance is dormant—no commits or activity recorded in the fact sheet—so expect no active bug fixes or feature development, though the package remains functional for existing API integrations.

License in practice

Licensed under Apache License 2.0, a permissive open-source license that allows commercial use, modification, and redistribution with minimal restrictions, making it safe for most production deployments.

Quickstart

pip install whylabs-client

import whylabs_client
from whylabs_client.api import dataset_profile_api

configuration = whylabs_client.Configuration(host="https://api.whylabsapp.com")
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

with whylabs_client.ApiClient(configuration) as api_client:
    api_instance = dataset_profile_api.DatasetProfileApi(api_client)
    response = api_instance.delete_analyzer_results(org_id="org-123", dataset_id="model-123")

Requires Python >= 3.6 and a valid WhyLabs API key for authentication.

Verify before relying

  • Whether the WhyLabs API endpoint (https://api.whylabsapp.com) remains active and compatible with this client version.
  • Current state of the upstream OpenAPI specification and whether this generated client reflects the latest API schema.
  • Whether dormant status indicates the package is stable and feature-complete or abandoned and at risk of API drift.

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 2 — urllib3, python-dateutil
Maintenance dormant — 578 days since the last release
First released
Downloads 151,522/month — #10,928 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: whylabs_client-0.6.16-py3-none-any.whl

Keywords: OpenAPI, OpenAPI-Generator, WhyLabs API client

Tags

whylabs api clientai observability pythonmodel monitoring apidataset profile apiopenapi generated clientml model observabilityanalyzer results api
api-clientml-observabilityopenapi-generated

More WWW/HTTP packages