Skip to main content

Python infrastructure platform for managing VM workspaces and clusters to deploy and maintain an automated container orchestration platform.

Project description

strata

You already have Terraform. The problem is you have eight environment folders — dev, staging, prd, prd-eu, prd-us, dr, sandbox, perf — and they are 90% identical. Every change gets applied to one folder, forgotten in three others, and you only find out when production drifts. strata is a YAML config layer over Terraform, Helm, and scripts that treats your environments as data, not as copy-pasted folders. One source of truth, one command to validate it, one command to deploy it.

📖 Full documentation

Support: GitHub Issues


Quick Start

pipx install xyz-strata                        # install
strata sln init                                             # scaffold a new config workspace
strata console                                              # interactive guided session
strata validate --file stack/my-environment.yaml        # validate before you touch anything
strata deploy run --file deploy/my-environment.yaml     # deploy to the target environment

New here? See the feature overview for a practical rundown of what strata does, or the Getting Started guide for the full walkthrough. Run strata --help to see all commands. Dev install: uv sync.

No PyPI access? Using a Dev Container? Inject strata from the published image — no Python install required:

# .devcontainer/Dockerfile
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
COPY --from=ghcr.io/huybrechtsxyz/strata:latest /app/.venv /opt/strata
ENV PATH="/opt/strata/bin:$PATH"

See the Getting Started guide for the full devcontainer and air-gapped registry setup.


Automation & AI Agents

Set STRATA_OUTPUT=json once (or strata config set output json) and every command returns a structured JSON envelope on stdout:

{
  "success": true,
  "command": "validate",
  "execution_id": "fb063135-...",
  "timestamp": "2026-05-18T14:31:47.267924",
  "data": { "validation_passed": true, "errors": [] },
  "messages": [],
  "errors": []
}

Key conventions for automation:

Concern Guidance
Output format Always use --output json or STRATA_OUTPUT=json
Exit codes 0 success · 1 system failure · 2 bad args · 3 validation failure
Workspace Set STRATA_WORK_PATH to target a workspace without cd
Error stream In console mode, errors go to stderr; structured JSON always goes to stdout
Execution correlation execution_id in the envelope maps directly to strata audit list --execution-id <id>
Env-var overrides Every CLI flag has an XYZ_<OPTION> equivalent (STRATA_VERBOSE=true, STRATA_QUIET=true, …)

Safe read-only commands that work outside an initialized workspace (INIT_REQUIRED=False): validate, status, schema list, schema get.


License

GNU Affero General Public License v3.0 — see LICENSE.

Project details


Download files

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

Source Distribution

xyz_strata-1.0.0.tar.gz (650.2 kB view details)

Uploaded Source

Built Distribution

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

xyz_strata-1.0.0-py3-none-any.whl (885.6 kB view details)

Uploaded Python 3

File details

Details for the file xyz_strata-1.0.0.tar.gz.

File metadata

  • Download URL: xyz_strata-1.0.0.tar.gz
  • Upload date:
  • Size: 650.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for xyz_strata-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fb96dba303e60be6de7a7f6dc1d2b4ff7015d4d9e3eee9fd2cb11db5cfc8ffa
MD5 3fd231271de9c4c35d69eb38671f7f51
BLAKE2b-256 107a0186459ef21a764f721b749aef67381db056760a25fc1443599083ff7f1e

See more details on using hashes here.

File details

Details for the file xyz_strata-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: xyz_strata-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 885.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for xyz_strata-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16cdf3b8a8b3eb786f73bebd2e61904718559f8716aa4cf8f6ea21dcbb346184
MD5 dd0781fe1ce61c886c57ab03826150c0
BLAKE2b-256 85ae1deeef13d41fbff51b40f59ac20f09cf17e6fc6ebfdedb7561cd524352fc

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