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, task streams, 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
    role: ELEMENTARY_RUNTIME
    warehouse: ELEMENTARY_WH
    database: ANALYTICS

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.0rc2

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.0rc2
File Size Uploaded
elementary_runtime-0.1.0rc2.tar.gz 208.7 kB Details

Built distribution (wheel)

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

Total release size: 254.8 kB

Release files / elementary_runtime-0.1.0rc2.tar.gz

Download URL elementary_runtime-0.1.0rc2.tar.gz
Size 208.7 kB
Tags Source
SHA-256 checksum
How to use checksums
558878fdf52a52b78ed5c5f8140ff5b20ebe44b8e366566a272cbb014f8aa188
BLAKE2b-256 checksum
How to use checksums
70d48837c9805beaa640a5a1a1042992d44eaafd2ec466b303d3ae711ec59b7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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.0rc2-py3-none-any.whl

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