Official Python SDK for Digital Tap AI — cloud cost optimization platform
Project description
Digital Tap AI SDK
Official Python client for the Digital Tap AI cloud cost optimization platform.
Installation
pip install digital-tap-ai
Quick Start
from digitaltap import DigitalTapClient
client = DigitalTapClient(api_key="your-api-key")
# List clusters
clusters = client.list_clusters()
for c in clusters:
print(f"{c.name} — {c.provider} — ${c.monthly_cost:.2f}/mo")
# Get savings report
savings = client.get_savings()
print(f"Total saved: ${savings.total_saved:.2f}")
# Trigger optimization
client.optimize_cluster("cluster-id")
Async Support
from digitaltap import AsyncDigitalTapClient
async with AsyncDigitalTapClient(api_key="your-api-key") as client:
clusters = await client.list_clusters()
CLI
# Login
dtap login
# List clusters
dtap clusters
# View savings
dtap savings
# Check status
dtap status
Configuration
from digitaltap import DigitalTapClient, ClientConfig
config = ClientConfig(
api_url="https://api.digitaltap.ai",
timeout=30.0,
max_retries=3,
)
client = DigitalTapClient(api_key="key", config=config)
License
Apache 2.0 — see LICENSE.
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
digital_tap_ai-0.2.0.tar.gz
(12.5 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 digital_tap_ai-0.2.0.tar.gz.
File metadata
- Download URL: digital_tap_ai-0.2.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbbd6cfadd7dd5bd713d16c5a3a6cc79e89640a05c542b600574941ad1c990e7
|
|
| MD5 |
e599e6bd706ca781f64cb97119ba45db
|
|
| BLAKE2b-256 |
65b55886e3dc6b4f0cb706e487ad8c7911b1240b2f45e950923743929b099b26
|
File details
Details for the file digital_tap_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: digital_tap_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a47beac06b8db174a404b852771e7c3645442bc361beae518d33ceb412d1c44
|
|
| MD5 |
e9e6eb98a06fa5315ede9d65f9a01071
|
|
| BLAKE2b-256 |
e89468f1b26de998a555e8069d291979161cd0d02659440254d187577b5df59c
|