Python SDK for Watchtower AI - Data Drift & Quality Monitoring
Project description
Watchtower AI SDK
Official Python SDK for Watchtower AI - A comprehensive data drift and quality monitoring platform.
Installation
pip install watchtower-sdk
Usage
1. Configuration
Set your environment variables (recommended):
export WATCHTOWER_API_KEY="your_project_api_key"
export WATCHTOWER_API_URL="https://your-watchtower-instance.onrender.com"
2. Monitoring Data
import pandas as pd
from watchtower.monitor import WatchtowerInputMonitor
# Initialize monitor (reads env vars automatically)
monitor = WatchtowerInputMonitor(project_name="Credit Scoring Model")
# Load your data
df = pd.read_csv("production_data.csv")
# Log data to Watchtower
response = monitor.log(df)
print(response)
Features
- Data Drift Detection: Automatically detects distribution shifts in your input features.
- Data Quality Checks: Validates schema, null values, and duplicates.
- Low Latency: Async-compatible logging.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
watchtower_sdk-0.1.0.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file watchtower_sdk-0.1.0.tar.gz.
File metadata
- Download URL: watchtower_sdk-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20889d5162f75bdc831efd14d2b2e7b9469b462639f67c92b99567b65d804c32
|
|
| MD5 |
ed9a95429aad2843a8b05759c8183669
|
|
| BLAKE2b-256 |
bf13d7c4f4956052d72942f0b92600cf64bd57797045e3d5cecdacab4d9118e3
|
File details
Details for the file watchtower_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: watchtower_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e4e9d8675830777be5a1a52b6a656535f3488701232380c0a398405e355c697
|
|
| MD5 |
6912543ecf47434d0911a69807742a09
|
|
| BLAKE2b-256 |
b2552754caf8de21a3d3be1beec530618b4d2c2f89456b45d911b0712f482dcf
|