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.17.0-cp314-cp314-win_amd64.whl (18.0 MB view details)

Uploaded CPython 3.14Windows x86-64

kailash_enterprise-4.17.0-cp314-cp314-manylinux_2_28_x86_64.whl (19.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

kailash_enterprise-4.17.0-cp313-cp313-win_amd64.whl (18.1 MB view details)

Uploaded CPython 3.13Windows x86-64

kailash_enterprise-4.17.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.17.0-cp313-cp313-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

kailash_enterprise-4.17.0-cp312-cp312-win_amd64.whl (18.1 MB view details)

Uploaded CPython 3.12Windows x86-64

kailash_enterprise-4.17.0-cp312-cp312-manylinux_2_28_x86_64.whl (19.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.17.0-cp312-cp312-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

kailash_enterprise-4.17.0-cp311-cp311-win_amd64.whl (18.2 MB view details)

Uploaded CPython 3.11Windows x86-64

kailash_enterprise-4.17.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.17.0-cp311-cp311-manylinux_2_28_aarch64.whl (18.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

kailash_enterprise-4.17.0-cp310-cp310-win_amd64.whl (18.2 MB view details)

Uploaded CPython 3.10Windows x86-64

kailash_enterprise-4.17.0-cp310-cp310-manylinux_2_28_x86_64.whl (19.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.17.0-cp310-cp310-manylinux_2_28_aarch64.whl (18.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.17.0-cp310-cp310-macosx_11_0_arm64.whl (17.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d79aa88be42841e643628d2d6d1dbf4bc8c2ea7813e52075ccc47152e69539ea
MD5 1586aa95ac0245d8a2fcf181ab16f567
BLAKE2b-256 0cf47d48e92da747bd3e5e18baaf7090543604be25375e0a6a2826be376f9359

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af4fb1b96ae1444ac9fcc383eb47e5be6e5d6252b5a4ddd135af65740103428f
MD5 579eb495a334dfded0268e124d7d0334
BLAKE2b-256 abe774231b5429ad9b295095ccf19053962b64ca8f621daad434962c020a8650

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 104d8107edf009c04dcca004a153b686b9e642128b951203ffa25478c76ffa24
MD5 553bcdef95800ddba7db215c32c103ea
BLAKE2b-256 bae5ca4b4d5ec9a41ed14a1dd0cba3fb64c0acb065b00758af5efafccbecf1f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5deca0ccc9a8931c8f5fe5fac82a5d4f8229dda4f444ebcd4ba1448d901c60ba
MD5 22c99bd18994e9e26672a9d6e0742865
BLAKE2b-256 f45064aeaad3030d1dc4aa88bfa36d54d2eb17d79ae68df54d4abd11cb6bcc8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a4c41c028331560374eb02f6f2f4bba3ca4c49fcbf10bb08d56cb5cffa76793d
MD5 b4e282c7cfd9f868c709302a72a2708c
BLAKE2b-256 1fc2ad21826bcb4db6291deb0a422217968c4b77914bd821ef08d7930acc4927

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2cce09271b4a7c3d2ebee7da22adaed877de0dd1747075c691f3761269db586
MD5 6c47248b8a3cd84c2e04ec019457327a
BLAKE2b-256 808a3780f35b924b09545ed92fe8497d4321bbc0774749ecaac61010a7501a55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4a37cb09bd26555978cbd7002e24d3c43a4192e6de657e265a25daa338f4d77e
MD5 0bf5585e4d9d825172bc85590e2d007f
BLAKE2b-256 0ca9918e6b99015f83fc3899416fee31219d13c27cdc2b0d230f03cd1f3aedb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7ede4a831a44f3da6404f904d518de9e7cf3cda24f656ddaa685e46e8c4235e
MD5 633ee99898f4c8f2802c3a888c070566
BLAKE2b-256 912a18482be92287407c0ecc9a555054f51bcf943db87720b1759618325bee16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b0e061275fa29ff898ee247080060397924f699ddd77edf538018b7d3ac3ce5c
MD5 be4bbb920b4a995bc175e860cf72d8fb
BLAKE2b-256 7ee1e9bfb30c05d1f0b7172c478b197b8e6c3097fff908f4234d5d37cce472e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3bef1b0be6abf776a994a21ec6475d54a004ba9f2423a4844ed33e1342a694fb
MD5 9beaaec2b759d2e1ec958aa32611c88a
BLAKE2b-256 b9868f95d24e8489f316d087b367374d02efc83b040ebda8f9c584fa1d8816e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6e4fbdec2aeaea1255b450c6ef794c5327f441603532219a4148b73f75b4b189
MD5 c4bd24891af3a0d79f17c54e9da927a4
BLAKE2b-256 a29de399a751e53dfba593a7665e0275ec87a3b23d720a2dad48d5315583c382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52dc6afe92ec763ee58a1fbabd5863d465554ff23a0e184d88e7e6000a07a14c
MD5 e70ff2e2efcdf49bb7a10dfc694f09d0
BLAKE2b-256 f0083dba09343450dd25cd8984aa6db191da24160faf52ff3d27e968f0089311

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 081a227355b75204ffb11047f9705ecab6c78093cf4714ac07ff9d167bc5e6d6
MD5 6862eb7126f0c2c34027158d21994ef3
BLAKE2b-256 76a5fd250064479e314c76e0fe6d2f584e0c157f6398b6008b688ede3b9da2e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f14df0db5e3ed558b7079ba3a5793103842b982645617f56a85bf83d9a6b6674
MD5 1f35c33c0051a1a92b77243d9f0922c7
BLAKE2b-256 04a138279b547afecba673e86de62260f93bbd4efde3faeabc2611142ee7864b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 646c76a0eb919ea40c5816f651cd972aca6ea8b70fbe0ab222a7f1c0ab85c638
MD5 49d4aab96f73563a1d7eaf995bfbb48b
BLAKE2b-256 13ff06e11d38706b798d5175600040ed8bb7a910791aae2bf8ef769472167341

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 925d0e51fa6bcb584b7d1181a1c7ad2ec6bbbbcde878ca76232e965bda5b2e39
MD5 cfb963fe210078d5cb4d15d4edca31ce
BLAKE2b-256 03994691e86751411c9fd35eeaeee4917facc040e1fa97323247c56f8c1a7e4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 76272eef0502e8c94098a41451ec0d1f3f1508145a3bc4305412eeeab4dbbadb
MD5 3bc1f6207fcfad3707b0bef0e4999909
BLAKE2b-256 d4dd4121f0705b5b5058f4ca8872e5c30ee8331eaf55d66908c308234be7ce99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f847f8c3970ff4421e1f7b4a669bc217db339d65bfbbee8567272df97bc1ad0
MD5 3bfaa05fbb630c9a8706b487a2c41d98
BLAKE2b-256 8b42e7e77b6a272a7a9972d2402808146001f5d1354f232b870546217538d153

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 42a30bd34b72d44fdc5fdb90427807018c816faa673f10ce9425b6c2961a01a4
MD5 c3e2750da502e0d769dbcfbb1aad5165
BLAKE2b-256 a4cfc75c4947a3053f0b5966446d7e13bc38e596e6e04ca838f77f715ede5835

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.17.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5221a1f620bb18f11cb9866a7965ed2615fa26525d032047e754109e6fa298df
MD5 d8f13fdf25853b6ef23aefa074295f76
BLAKE2b-256 f03431fecd666d44f451d3394503e6cd2b2ff22a726b4510b6a81bae88c9077d

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