Skip to main content

StrataCTL

The local command-line tool for operators. It installs, updates, and removes StrataBI modules and the StrataBI platform in your AWS account, fetches the account-entitled runtime, and version-controls dashboards. It runs on your machine with your own AWS credentials — it is not a hosted service.

The same strata package is also the runner program that executes inside the ephemeral CodeBuild runner (python -m strata.runner).

Install

python3 -m venv ~/.venvs/strata && source ~/.venvs/strata/bin/activate
pip install -e .            # from this directory; exposes the `stratactl` command
stratactl --help

Configure

strata init collects a deployment's configuration into strata.yaml (the source of truth) and generates the Terraform variable files — you don't hand-edit .tfvars.

stratactl init                     # interactive; re-run to reuse answers + fill gaps
stratactl init --non-interactive   # config + defaults only (automation)

Settings resolve in this precedence (highest first): CLI flag → env (STRATA_*) → ./.stratactl.toml → ~/.stratactl/config.toml → AWS SSM (/strataci/hq/*) → packaged defaults. Point it at a customer account by pasting the stratactl_customer_config output from strataci-runner into your config, and set your license token:

export STRATA_HQ_TOKEN=<your license token>

AWS credentials come from your normal profile/keys (--profile, AWS_PROFILE, env). What you can deploy is governed by your own IAM in the target account.

Commands

stratactl init                            # configure a deployment (writes strata.yaml + tfvars)
stratactl fetch-runtime --version 1.0.0   # pull the account-entitled runtime wheel -> ./dist (verified)
stratactl install <module>                # entitlement -> runner -> tofu apply, in your account
stratactl install-stratabi                # install the StrataBI platform (Enterprise)
stratactl install-stratabi-dev            # install the Developer/Community edition
stratactl update <module> --to <version>
stratactl uninstall <module>              # runs the module's tofu destroy (always available)
stratactl list                            # what's installed + delivery mode
stratactl logs <job-id>                   # tail/replay a runner build
stratactl dashboards push <file>          # validate + upload a dashboard to analyst/dashboards/
stratactl dashboards pull|list|diff       # dashboards-as-code: git-sync the registered set

--source stratahq (default) fetches a signed bundle from Shaleio's control plane; --source customer_s3 installs from your own bucket (offline / air-gapped).

dashboards resolves the system bucket + git-registry table from the recorded dev install (no manual config). A plain push <file> needs only the bucket and validates against the packaged schema; the git-sync flow (--new/pull/diff) uses the registry for version control.

End-to-end: deploy StrataBI Enterprise

# 0. one-time per account: scaffold the runner  (see ../strataci-runner)
# 1. build the runtime container image          (see ../build_template)  -> ECR image URI
# 2. configure + deploy:
export STRATA_HQ_TOKEN=<token>
stratactl init            # set stratabi_image=<ECR URI>, vpc_id, subnets, allowed_ip_cidrs
stratactl install-stratabi
stratactl list

Your strata init values ride through to the ephemeral runner automatically (the CLI uploads them; the runner applies them over the bundle's baked defaults), so the platform deploys with your networking/image without any manual .tfvars on the runner.

Layout

Path What
src/strata/commands/ CLI subcommands (init, install, fetch_runtime, dashboards, …)
src/strata/hq/ StrataHQ client (SigV4-signed entitlement calls)
src/strata/runner/ the program that runs inside CodeBuild
src/strata/install/ the strata init wizard (schema / prompt / store / tfvars)
src/strata/artifacts/ bundle download / verify / manifest
tests/ unit tests (pytest)

Metadata

Release files for stratactl 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stratactl 1.0.4
File Size Uploaded Provenance Actions
stratactl-1.0.4.tar.gz 68.7 kB With provenance Details for stratactl-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stratactl 1.0.4
File Interpreter ABI Platform Actions
stratactl-1.0.4-py3-none-any.whl Python 3 none any Details for stratactl-1.0.4-py3-none-any.whl

Total release size: 150.2 kB

Release files / stratactl-1.0.4.tar.gz

Download URL stratactl-1.0.4.tar.gz
Size 68.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7705a07f0730d2f73b21bb94fe818aa610ba6a4d1926645b4a4ef3db0bb7399b
BLAKE2b-256 checksum
How to use checksums
3b49ad15d3615de08435ee7d30b9c45a3e8a6353f191a9ac7bdb14c4fc2fcd8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.

Transparency log

Release files / stratactl-1.0.4-py3-none-any.whl

Download URL stratactl-1.0.4-py3-none-any.whl
Size 81.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d987b13e081c5b72acd7baf2a2a9ad3c069a8f5eb5e5cd7c26d0c3bc832c77b
BLAKE2b-256 checksum
How to use checksums
efe9a6b6149c3fe9ae3a6931dc31b22f625aae8d24ea005328955b085eadbd1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.

Transparency log

Security for stratactl 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stratactl-1.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page