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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55e81df15bde38a09c60a8ad3e5b8ca11fba16e391f1ef91d6b2cee075831c42
|
|
| MD5 |
2af6482ba4cf53e8ecf636a084f5ad36
|
|
| BLAKE2b-256 |
4b9523b09c1141fdc869ba07e0fe6543059c79688b880bca62e87a7705eb4997
|
File details
Details for the file provision_stack-0.1.0-py3-none-any.whl.
File metadata
- Download URL: provision_stack-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b5f7f9b0ddf659fcafb5c92429e124e3c09f5f0720695270f6036622108c98
|
|
| MD5 |
0d86ae85a892f445f39484deae4cfd32
|
|
| BLAKE2b-256 |
f4b133921082bd9a75cf5461c638a5aa419dee0ab4966d1674e0eb33e0f6c549
|