Skip to main content

provision-stack

Python client for the Provision Stack Execution API — deploy cloud infrastructure via AI agents.

Install

pip install provision-stack

Quick Start

from provision_stack import ProvisionStackClient

client = ProvisionStackClient(api_key="your-token", sandbox=True)

# Get suggestions
suggestions = client.suggest("deploy a production web app")

# Deploy
result = client.deploy(outcome="deploy a production web app", tier="MVP")

# Check status
status = client.status(result["deploymentId"])

Configuration

client = ProvisionStackClient(
    api_key="your-token",         # or PROVISION_STACK_API_KEY env var
    base_url="https://...",       # or PROVISION_STACK_API_URL env var
    sandbox=True,                 # use sandbox (mock Terraform)
)

API

suggest(outcome, **kwargs)

Get deployment suggestions with tier options and cost estimates.

deploy(outcome, **kwargs)

Deploy infrastructure. Fee held from balance, captured after verification.

status(deployment_id)

Check deployment status and verification results.

destroy(deployment_id)

Destroy all resources owned by a deployment.

balance()

Check account credit balance.

topup_stripe(amount_usd) / topup_xrp(amount_usd)

Add credits via Stripe or XRP.

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

provision_stack-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

provision_stack-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file provision_stack-0.1.0.tar.gz.

File metadata

  • Download URL: provision_stack-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for provision_stack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55e81df15bde38a09c60a8ad3e5b8ca11fba16e391f1ef91d6b2cee075831c42
MD5 2af6482ba4cf53e8ecf636a084f5ad36
BLAKE2b-256 4b9523b09c1141fdc869ba07e0fe6543059c79688b880bca62e87a7705eb4997

See more details on using hashes here.

File details

Details for the file provision_stack-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for provision_stack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5b5f7f9b0ddf659fcafb5c92429e124e3c09f5f0720695270f6036622108c98
MD5 0d86ae85a892f445f39484deae4cfd32
BLAKE2b-256 f4b133921082bd9a75cf5461c638a5aa419dee0ab4966d1674e0eb33e0f6c549

See more details on using hashes here.

Supported by

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