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
Metadata
Release files for provision-stack 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| provision_stack-0.1.0.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| provision_stack-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / provision_stack-0.1.0.tar.gz
| Download URL | provision_stack-0.1.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55e81df15bde38a09c60a8ad3e5b8ca11fba16e391f1ef91d6b2cee075831c42
|
|
BLAKE2b-256 checksum How to use checksums |
4b9523b09c1141fdc869ba07e0fe6543059c79688b880bca62e87a7705eb4997
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / provision_stack-0.1.0-py3-none-any.whl
| Download URL | provision_stack-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5b5f7f9b0ddf659fcafb5c92429e124e3c09f5f0720695270f6036622108c98
|
|
BLAKE2b-256 checksum How to use checksums |
f4b133921082bd9a75cf5461c638a5aa419dee0ab4966d1674e0eb33e0f6c549
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|