Skip to main content

Kailash Enterprise — high-performance Rust-powered workflow engine, drop-in replacement for kailash

Project description

Kailash Enterprise

High-performance Rust-powered workflow engine — a drop-in replacement for the kailash Python SDK.

Installation

pip install kailash-enterprise

Replaces pip install kailash. Existing code works without changes.

Usage

# Existing kailash code — no changes needed
from kailash.runtime import LocalRuntime
from kailash.workflow.builder import WorkflowBuilder

builder = WorkflowBuilder()
builder.add_node("NoOpNode", "step1")
workflow = builder.build()

runtime = LocalRuntime()
results, run_id = runtime.execute(workflow)

Why Enterprise?

  • 22–261x faster execution via compiled Rust engine
  • 100–300x less memory than the pure Python SDK
  • Same API — zero migration effort
  • Binary-only — source code stays protected

Compatibility

Full backward compatibility with kailash v0.12. The legacy API emits deprecation warnings to guide migration to the new v2 API.

New v2 API:

import kailash

reg = kailash.NodeRegistry()
builder = kailash.WorkflowBuilder()
builder.add_node("NoOpNode", "step1")
workflow = builder.build(reg)

runtime = kailash.Runtime(reg)
result = runtime.execute(workflow)
# result["results"], result["run_id"], result["metadata"]

Domain event bus (kailash.events)

A pluggable publish/subscribe event bus for cross-service domain events, with structured envelopes (correlation/causation tracking, schema version, JSON payload). Distinct from kailash.EventBus (which is the Nexus lifecycle broadcast bus and is unchanged).

from kailash.events import EventBus, DomainEvent

bus = EventBus()
received = []
bus.subscribe("orders", lambda e: received.append(e))

event = DomainEvent(
    "order.created", "orders", "checkout-service", {"order_id": 42}
).with_correlation("44444444-4444-4444-8444-444444444444")
bus.publish(event)

time.sleep(0.05)

Each subscriber receives a dict with the event's fields (id, event_type, topic, actor, schema_version, correlation_id, causation_id, timestamp, payload, metadata).

Choosing an event-bus backend

kailash.events ships two backends. They are not unified — the choice is a deployment-topology decision, not a convenience toggle:

Backend Delivery scope Durability When to use
InMemoryEventBus Same Python process ONLY None Dev / test / single-process. EventBus is an alias for this.
NatsEventBus Cross-process, cross-host At-least-once Multi-process / multi-service production (requires a NATS JetStream broker).

Cross-process divergence is deliberate and silent if mis-chosen: a subscriber registered in one process on InMemoryEventBus will NEVER see events published from a different process — that is a no-delivery, not a degraded delivery. Pick NatsEventBus whenever publisher and subscriber are not the same OS process:

import os
from kailash.events import NatsEventBus, DomainEvent

# URL threaded in explicitly — the binding never reads the environment
# itself. TLS is required by default; allow_plaintext=True is only for a
# localhost test broker.
bus = NatsEventBus(os.environ["KAILASH_NATS_URL"])
bus.subscribe("kailash.events.acme.orders.created", lambda e: ...)
bus.publish(
    DomainEvent("order.created", "kailash.events.acme.orders.created",
                "checkout-service", {"order_id": 42})
)
bus.shutdown()

NatsEventBus delivers at-least-once via JetStream durable consumers; subjects MUST live under kailash.events.<tenant>.<domain>.<event> (the broker's stream captures that subtree for tenant-isolated routing).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

kailash_enterprise-4.13.0-cp314-cp314-win_amd64.whl (18.0 MB view details)

Uploaded CPython 3.14Windows x86-64

kailash_enterprise-4.13.0-cp314-cp314-manylinux_2_28_x86_64.whl (19.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.13.0-cp314-cp314-manylinux_2_28_aarch64.whl (18.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.13.0-cp314-cp314-macosx_11_0_arm64.whl (16.8 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kailash_enterprise-4.13.0-cp313-cp313-win_amd64.whl (18.0 MB view details)

Uploaded CPython 3.13Windows x86-64

kailash_enterprise-4.13.0-cp313-cp313-manylinux_2_28_x86_64.whl (19.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.13.0-cp313-cp313-manylinux_2_28_aarch64.whl (18.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.13.0-cp313-cp313-macosx_11_0_arm64.whl (16.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kailash_enterprise-4.13.0-cp312-cp312-win_amd64.whl (18.0 MB view details)

Uploaded CPython 3.12Windows x86-64

kailash_enterprise-4.13.0-cp312-cp312-manylinux_2_28_x86_64.whl (19.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.13.0-cp312-cp312-manylinux_2_28_aarch64.whl (18.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.13.0-cp312-cp312-macosx_11_0_arm64.whl (16.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kailash_enterprise-4.13.0-cp311-cp311-win_amd64.whl (18.1 MB view details)

Uploaded CPython 3.11Windows x86-64

kailash_enterprise-4.13.0-cp311-cp311-manylinux_2_28_x86_64.whl (19.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.13.0-cp311-cp311-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.13.0-cp311-cp311-macosx_11_0_arm64.whl (17.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kailash_enterprise-4.13.0-cp310-cp310-win_amd64.whl (18.1 MB view details)

Uploaded CPython 3.10Windows x86-64

kailash_enterprise-4.13.0-cp310-cp310-manylinux_2_28_x86_64.whl (19.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.13.0-cp310-cp310-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.13.0-cp310-cp310-macosx_11_0_arm64.whl (16.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file kailash_enterprise-4.13.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a207716d9fc977237e5102ee200bf450e38d2874c6c96fc1d307b4b659bf0bde
MD5 d4a6f79d0b982832ae2477161d5c54fd
BLAKE2b-256 4c37f72230ee25da1d7fb7d9529316dbcd2001eb1b9a045f7c25949f7ca15638

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e02ac51dc1c8c9630763c25d3937a8fbfe4ca9ca5dd8ec55a46aa6d92d4dd09a
MD5 bbe0113db0a6e774b37b9cef3ae45e27
BLAKE2b-256 8fa3d2797135bf944cf1dc62fd15219ee29d35ca1de12652d434a5a2a417298f

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 207bbaafd9465da0c68dd30fa7442b03820384e212ebfef5260f5a6a7b16ba43
MD5 86b11fc3fc6ec8e4e4fd4f9edecc7da3
BLAKE2b-256 ea4a9aa8862b7a8d9fbcd20a88738c4dd2866bba19f351b32331b16d36b2daff

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57da8fa119c260e2b1ef32e9e5cc07af4c981666987dc6970fac28e73e457248
MD5 0f5259d416556aa30d31704ddbeb35c9
BLAKE2b-256 1166997d0d6a0462974fa08ed9a5725f19b37831a366ebb98bcb264059a5cb82

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a158385c7a08e93f651b0ecf05f053cda7ffc468550ab44f49097972e780b195
MD5 74deb49ccb8dfd1a1cb900f41b4bcbe2
BLAKE2b-256 06d12ca24a14e32f4470ba4c65216e4247a81b14f0f95c81a37b0d2be298403d

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b91b15791832090cf8fd07a54221e28b3db519a07d3592bce89e8ae5331d89b3
MD5 1456d7e50e66b797d6b055cfdd636cc3
BLAKE2b-256 4e94417ddc556dc7bac3fecc273530e39b74721dd2901753b413b489a3824949

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0e2ac75c7a947173eb67e50fc913b912f6ff94ed6b0084a07ae4aab307ebc2b3
MD5 7fa7455b2d990fc7ae745066a1c2c044
BLAKE2b-256 05d842247f63281cd5554fe54239565035dfeccf5b6955581d2c2e67df061334

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a39e7fbaa18121bae8d779715e69ad577512bfc1f43daef3fd299973ca409411
MD5 3dadbfe8a64e208599d527c3ad9e10c4
BLAKE2b-256 1a5d9a99f70b652bf7250c0e162bb8c64669089a36c9418776414f7b9b2d6feb

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e650e43bdd957a4d50dac986787988e8bab3fdf01f869e9a7f2c49cfc7a49823
MD5 906085d537d2fd349b3189171ed94cbd
BLAKE2b-256 19b1e7adb16ac042ac489125d91aa87fcd4941af7eda3db61059ce39a29d2fe8

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aad52e3c4fa88de8f1d033fecd517a881a0af420c5294b05ec609c58ef9a0518
MD5 24dde96b11ffb7eabab6c22c274f1d38
BLAKE2b-256 54d190a3d64abb71f8880d2f4c8c8a09cb7c364e6322b94c92aae16f0d1d3e00

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2c4cbda8e83c2c321487b458b98ce6ecc2c6c2271b408b7820bd8a6c783569fd
MD5 50f6861d512eb6e689880822bf292dd0
BLAKE2b-256 adae0c30c4c68caff1c65f2d06d3beb6948dd55d67711281bc927b8550455c09

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b1ec032fa44461f51d75e38037c01a1b1291058d3553a4c978c1e8cfedd8e2e
MD5 5b01e6e23f07798a29f0e5bc7bb2ddc2
BLAKE2b-256 4abc1de6516fb02186ba59744c68be592f28acea37ad3b26d82553e52e750c06

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ca1d139c56e32bb00fbdf6ffde8752c6ca52204bd5b17f35c8e1eed44914593
MD5 22ea2365be193aa66210a9833e22d8e7
BLAKE2b-256 dc4be323e06344d702860b9810dadb246b260656d0cb0f45548369613efbdbe2

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 97cc97ec35f48dbab933e4e36236d0b3909e867e74df47da152714a27b6d95b2
MD5 0ceed5a12b3b00c92a48d4dc7248fcf4
BLAKE2b-256 017134a3f6088bfa9d2b7bdcec2d60ef0d6d03b723b5bbfebcd0b3e9933e29c3

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8029b78dd6f36cc7eabeef72758bce14a398909051be7f99f2e97fbe013138fc
MD5 a6d7d4592ae896012669bd5a6e3433dc
BLAKE2b-256 a8d989b1cf6db865e3d4d7d9c0ca0509640bb423e43a043dc4c165456564440d

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d56920ebd06c9b115faf72599cd4a9323e311bd0292384cfc80787a25c8e0e5f
MD5 54cb294e8af24628780e5be4afd0eff5
BLAKE2b-256 d0684669d50544beb7ede1020eeffccfb6145185c08af6eb8f46ce5f768bc8cf

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bdfa5a2d903e0c8bfc765c28e04cd4fed95888384274f5fb4ff1c6eee2ec0a88
MD5 c8b0dabb205b290a1ba86fc935f3e71d
BLAKE2b-256 3f4608e7bd42e7bbd93189f65551acdd92d72d3c096e777604e5a9c55af37b78

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 00d2386d917032674095907f7e58aba9ef03354543eac654b38c6a7d98f04cde
MD5 235a43d2ee3e8e0cfb4d0930c8a4c5b5
BLAKE2b-256 d0d7ea1cbc4b0b09d7319e84e541ea687666acde726e63536ae6f32ffd925c04

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1541d56d11c113bb8414a24952f76739d121cbe4ba3e6a85ddba3c32b0cee24c
MD5 6ba8e06df119d8f1d2fce54b5267bd9a
BLAKE2b-256 5f3f3d3a96c3e2a17c9e75817acc3481cf070e6024578410d556e67c4d866bc8

See more details on using hashes here.

File details

Details for the file kailash_enterprise-4.13.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.13.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3599324afcb85b33e7d545c4f7c317ae259a8b1d189fbd62d6343b8d5ac0ca3a
MD5 6da3412109aa8e9f5ce076b5dd024b2d
BLAKE2b-256 5c597de060f9e1e52742d4b6e107d2a30313cf3c89f5b6a3ab4fca937041a9c0

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