Skip to main content

ivpools

Official Python SDK for IVPools AI Engineering API.

Pool, PV, sauna, and irrigation engineering calculations for AI agents.

Install

pip install ivpools

Quick Start

import os
from ivpools import IVPools

client = IVPools(api_key=os.environ['IVPOOLS_API_KEY'])

# Get product price ($0.001)
price = client.get_price(category='pump', volume=20)

# Generate engineering quote ($0.005)
quote = client.create_quote(
    type='overflow_pool', length=8, width=4, depth=1.5
)

# Solve complete engineering problem ($0.100)
solution = client.solve(
    pool={'length': 8, 'width': 4, 'depth': 1.5, 'type': 'overflow_pool'},
    budget=20000,
    requirements=['heat pump', 'LED lighting']
)

print(f"Cost: €{solution['cost']}")
print(f"Status: {solution['engineering']['status']}")
print(f"Certificate: {solution['certificate']['certificate_id']}")

Sandbox (no API key needed)

sandbox = IVPools(sandbox=True)
price = sandbox.get_price(category='pump', volume=20)

MCP Integration

mcp = IVPools(api_key=os.environ['IVPOOLS_API_KEY'])
tools = mcp.list_tools()
result = mcp.call_tool('ivpools_solve', {
    'pool': {'length': 8, 'width': 4, 'depth': 1.5},
    'budget': 20000
})

Features

  • ✅ MCP 2026-07-28 compliant (stateless HTTP)
  • ✅ Reserve-then-commit billing (atomic)
  • ✅ Idempotency support (safe retries)
  • ✅ Deterministic engineering engine
  • ✅ Signed certificates (Ed25519)
  • ✅ No dependencies (pure Python stdlib)

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ivpools-3.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ivpools-3.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file ivpools-3.0.0.tar.gz.

File metadata

  • Download URL: ivpools-3.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for ivpools-3.0.0.tar.gz
Algorithm Hash digest
SHA256 9db295310382bc302bd03136b2b76cdbcc4de8524133524d6a95698c4dbae4ce
MD5 adb66bc5d9640427acab4a4b300dd557
BLAKE2b-256 77c4483407842b6322c9c38633020433ee09a0a213a43ef8ea069dab7d14ade9

See more details on using hashes here.

File details

Details for the file ivpools-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: ivpools-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for ivpools-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38919f83b09d435c9e0a6bf32d3794099d6b013362f60154c9988bdb4a8c027b
MD5 e7dc64e0a998d9ecf3ca82b102013416
BLAKE2b-256 d18f9782dcfc5cd2e90fe6f63792e049010652898ce169a98d8b0a44f8bec08d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page