Skip to main content

A framework to build and run data pipelines and workflows.

Project description

NoETL

NoETL is an automation framework for orchestrating APIs, databases, and scripts using a declarative Playbook DSL.

Execution is standardized around an MCP-style tool model: consistent tool contracts, structured input/output, and a predictable lifecycle. From an MCP perspective, tools include API endpoints, database operations, and scripts/utilities NoETL orchestrates and optimizes them via playbooks.

With NoETL Gateway, playbooks can be deployed as a distributed backend: developers ship business logic as playbooks, and UIs/clients call stable endpoints without deploying dedicated microservices for each workflow.

PyPI version

Documentation

https://noetl.dev — user-facing site.

NoETL wiki — operator and developer reference. Pages mirror the code tree under noetl/noetl.

Async batch acceptance and recovery references (on the wiki):

Distributed runtime components

Reference docs for the event-sourced, projection-backed runtime (implements v2 distributed-runtime spec phases 0–2; spec lives in noetl/docs at docs/features/noetl_distributed_runtime_spec.md):

  • Event Store — durable append-only event log (port + Postgres adapter), EventRecord envelope, optimistic concurrency via expected_version.
  • Projection Store — version-monotonic projection + snapshot store (port + Postgres adapter), query interface for replay state.
  • Outbox — transactional outbox publisher (python -m noetl.outbox) that drains noetl.outbox to NATS with at-least-once retry/backoff.
  • Projector — out-of-process projection worker (python -m noetl.projector), durable NATS pull consumer, shard-stable, Prometheus metrics, replay-state folding shared with the in-process replay API.

EHDB Integration Contract

EHDB integration is disabled by default in this repository. The first NoETL-side surface is a feature-flagged contract only; it validates the execution-model boundary before any storage cutover exists.

Environment flags:

  • NOETL_EHDB_ENABLED=true turns on contract validation.
  • NOETL_EHDB_MODE=control_plane|local_reference selects either control-plane embedding or local reference readiness mode.
  • NOETL_EHDB_CLIENT_ROLE=gateway|api|server|worker|playbook|system declares the caller role.
  • NOETL_EHDB_CAPABILITIES=control_plane is the only capability accepted for gateway/API/server control-plane embedding. Worker, playbook, and system local-reference configs default to explicit data-plane capabilities unless narrowed with a comma-separated list.
  • NOETL_EHDB_LOCAL_REFERENCE_LOG=/path/to/ehdb.jsonl provides the explicit local event-log path for the reference mode.
  • NOETL_EHDB_HELPER_BIN=/path/to/helper is required only when a worker/playbook asks NoETL to build a local-reference helper invocation plan.

Gateway/API/server roles are accepted only in explicit control_plane mode with the control_plane capability. They are still rejected for local_reference and any data-plane capability. Gateway remains the gatekeeper; workers remain atomic compute; playbooks remain ephemeral blueprints; shared cache remains a state vehicle; the event log remains the source of truth. This contract does not connect to EHDB, replace PostgreSQL/NATS/object stores, add a gateway route, or start a persistent per-tenant process.

noetl.core.ehdb_adapter.ehdb_adapter_from_env builds the disabled-by- default adapter descriptor behind that contract. Disabled configuration returns None; gateway/API/server control_plane configuration also returns None because it has no data-plane helper. Worker/playbook local_reference configuration returns a LocalReferenceEhdbAdapter carrying the explicit event-log path, data-plane capability set, and exportable runtime environment for future EHDB helper calls. The adapter does not open logs, connect to EHDB, or perform storage operations.

noetl.core.ehdb_adapter.ehdb_helper_invocation_from_env builds the next planning surface for those helper calls. Disabled configuration returns None; enabled worker/playbook configuration requires an explicit helper executable and returns deterministic argv plus EHDB runtime env that can be merged into a subprocess environment. The invocation plan is immutable and side-effect-free; it does not execute a subprocess, import EHDB, open logs, connect to storage, or add gateway/server data paths.

Repository model (ai-meta driven)

NoETL development is now coordinated through the ai-meta repository:

ai-meta tracks all component repositories as Git submodules and is the primary place to coordinate cross-repo changes, pointer bumps, and release choreography.

End-to-end integration playbooks, fixture payloads, local credential templates, notebooks, and Gateway UI test fixtures live in noetl/e2e.

Distribution channels

License

Dual License — see LICENSE for details.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

noetl-4.16.0.tar.gz (884.6 kB view details)

Uploaded Source

Built Distribution

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

noetl-4.16.0-py3-none-any.whl (985.6 kB view details)

Uploaded Python 3

File details

Details for the file noetl-4.16.0.tar.gz.

File metadata

  • Download URL: noetl-4.16.0.tar.gz
  • Upload date:
  • Size: 884.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","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 noetl-4.16.0.tar.gz
Algorithm Hash digest
SHA256 f4d54272a7e2a5137a7a97c36e2b4de08a957c91680d7aef30312d4afca453f9
MD5 ada463d3d3c8d4a67130d40891ca449f
BLAKE2b-256 04cfaf71bfdc079d3f106430407c560124bba4210942fd8cb0b5b6e0c30df80c

See more details on using hashes here.

File details

Details for the file noetl-4.16.0-py3-none-any.whl.

File metadata

  • Download URL: noetl-4.16.0-py3-none-any.whl
  • Upload date:
  • Size: 985.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","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 noetl-4.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54ad1b2ab0e594319ea29a47624942d027368f44e65c6e7863d20601dc29bb4a
MD5 8e1d4bd028e69f29f364330958a3020b
BLAKE2b-256 af9c26876ac425fae0a6cade04b37dd89a89c11ae5d10477719770444e822082

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