whylabs-client
WhyLabs API client
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-clientuv
uv add whylabs-clientpoetry
poetry add whylabs-clientInstalling 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
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
lakefs-sdkProvides a Python client library for the lakeFS…
permissive · top 15,000 on PyPI
legit-api-clientA Python client library for interacting with an…
permissive · top 15,000 on PyPI
mixpeekMixpeek is an auto-generated OpenAPI client…
permissive · top 15,000 on PyPI
ogx_open_clientProvides an OpenAPI-generated Python client for…
permissive · top 15,000 on PyPI
qase-api-v2-clientA Python client library for the Qase TestOps…
unclear · top 15,000 on PyPI
qase-api-clientPython client library for the Qase TestOps API…
unclear · top 15,000 on PyPI
gooddata-api-clientProvides a Python client for the GoodData API,…
permissive · top 15,000 on PyPI
authentik-clientA Python client library for the authentik…
permissive · top 15,000 on PyPI
Pinterest-Generated-ClientProvides auto-generated Python bindings for…
permissive · top 15,000 on PyPI
datadog-api-clientPython client library for the Datadog API,…
permissive · top 1,000 on PyPI