Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Elementary Runtime

Early development. This package is a skeleton and is not usable yet.

Elementary Runtime is a small service that customers run in their own environment. It uses local warehouse credentials to execute SQL prepared by Elementary Cloud, so Cloud never holds credentials that can read customer business tables.

Warehouse drivers will be optional extras. Installing the base package for task models will not pull in every warehouse driver or the full runtime.

A license has not been chosen yet.

Security-critical code

Local safety controls live under src/elementary_runtime/execution/. That tree is the audited surface: SQL validation, query execution with limits applied while rows are fetched and encoded, and redaction of SQL, row values, credentials, and unrestricted warehouse errors from logs and telemetry.

Repository layout

src/elementary_runtime/
  protocol/      Task and result wire formats
  config/        Versioned YAML configuration and local limits
  common/        Shared helpers used by protocol and config
  warehouses/    Warehouse clients (drivers behind extras)
  execution/     Audited local safety controls
    sql/         SQL validation
    worker/      Worker pool, query execution, limit enforcement
    redaction/   Error, log, and telemetry scrubbing
  coordinator/   Register, poll, heartbeat, submit, retries, shutdown

Configuration

version: 1
cloud:
  token_file: /run/secrets/elementary_runtime_token
connections:
  - warehouse_connection_id: connection-id
    type: snowflake
    account: ab12345.eu-central-1
    user: elementary_runtime
    password_file: /run/secrets/snowflake_password

Development

Requires uv and Python 3.10–3.14. Local development uses Python 3.12.

After a clone or a new Git worktree, install the environment and hooks:

./script/setup.sh

Then:

uv run pytest
uv run mypy src tests
uvx prek run --all-files

The package version lives in pyproject.toml. Bump it with uv version --bump patch (or minor / major). At runtime, elementary_runtime.__version__ is read from the installed distribution metadata.

Metadata

Release files for elementary-runtime 0.1.0rc1

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

Source distribution (sdist)

Source distribution for elementary-runtime 0.1.0rc1
File Size Uploaded
elementary_runtime-0.1.0rc1.tar.gz 82.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for elementary-runtime 0.1.0rc1
File Interpreter ABI Platform
elementary_runtime-0.1.0rc1-py3-none-any.whl Python 3 none any Details

Total release size: 105.0 kB

Release files / elementary_runtime-0.1.0rc1.tar.gz

Download URL elementary_runtime-0.1.0rc1.tar.gz
Size 82.4 kB
Tags Source
SHA-256 checksum
How to use checksums
23e3540da21526f913dc31f0560397f872bac9224324d4118d6516df8f537a90
BLAKE2b-256 checksum
How to use checksums
ec322e4a9811fa0277463afdd194db7be5b7ecdab67fa1e8a6ec0cbf8d21df46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}

Release files / elementary_runtime-0.1.0rc1-py3-none-any.whl

Download URL elementary_runtime-0.1.0rc1-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e44340b9a89e001ad2398981c74ad3a3eb37be6cb2c5ece02075e809ac894c3b
BLAKE2b-256 checksum
How to use checksums
7157f8b9d2b95e83ea45b2298421888742d6d7e3b55ca66c7692910c4f415316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
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