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

Uploaded CPython 3.14Windows x86-64

kailash_enterprise-4.18.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.18.0-cp314-cp314-manylinux_2_28_aarch64.whl (18.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

kailash_enterprise-4.18.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.18.0-cp312-cp312-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

kailash_enterprise-4.18.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.18.0-cp310-cp310-manylinux_2_28_aarch64.whl (18.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.18.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.18.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6165584d0748c1e8fe89f18598c4340d373343cea30e2f08266e9eb7a24c57a4
MD5 f563ba7389aadabaac063b560a9cc645
BLAKE2b-256 48cdf288a7f8c97e063e35218ba1d65e65e3adb47b337571706b16764848406a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16312f4f910a962b9e6b68252c51ee0b6b21166a993012db6277d04cdbd30bee
MD5 a7db91e6feab84cb420eb5d4566526a2
BLAKE2b-256 b9436010b98bda01267d10b1cdea7d25868fb45027cec59a0b9528c2fc1d8c86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 78da62dfbc03a0ce3615436f64b864afcc82cd2b68ff9f189e7c38cd1561adfa
MD5 1d8fc6c34287da55600f9733f7c492ec
BLAKE2b-256 31fe22cd46d11730cc77d425cfe71c05b3dc123af89f3863746727ab0ed884ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 69412f781859c501df66a87550b78fe66ca952b05ff8d1f9ace6ee34a10b21a9
MD5 748a1d8972a9b80483ad9970ed476d28
BLAKE2b-256 1f8ed1ef9883d2e768bc5e7966e361d718c47effb64b6eebd6218371dceb318c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a1e362680c5b75e64b06ad159167694f565297a32e47ba455f996bb1ca0f8b46
MD5 f2fcea0ec4983c9175eaabbd3fc30601
BLAKE2b-256 b79966c8cd4c1c444ed082c4e68421f76ba7dc26d9ff1a4d836cbe1bd476bcd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b92dc16da5f65906854a87f128eb15d1beb11c9481bff9ea198ce071ca0cb056
MD5 62946e5100331fa9aeec7768cf7a2bb8
BLAKE2b-256 a8628c7a1c8bcb8b0da12b5ce54d64948cb013720cedb96b1c02bcf3876cc2ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4b15bb17723b22b4a68294612fe722dd8b35984b8dc91aad6b6eccc4f5b66074
MD5 55ac349865846befd69fc463c1817c34
BLAKE2b-256 765614b5682d2c0977dd0d3b0e4379acd95bf429e5670518185232ecf8d79730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3467c161bf976e3d71385f2d8657190e263c8cf21f661d878a743f544bbd3b5a
MD5 db17d29519e46a46367cf9f4334d9c95
BLAKE2b-256 401a9c15d5047ec888aa81b7288ef99458b74158c50453f2a048ffd0315d7585

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0aa997e68126309fcf2f36d6a61fc6e200447f82f83ba1c35122fc23a1875d82
MD5 3b37a47fe395df0bacfd4335ce8c9972
BLAKE2b-256 9a3a871c4fe196f7d3301401630e21cb97407d68a10ed4acefd19fe773bcbdbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b01afd8954ef72498fad5c4adc5f465de4603ff5ddb7f84dcc0581e80d74a294
MD5 1063bb47edde7602b5322b9aaa269f59
BLAKE2b-256 a3c61b044ac5fc66afb2fb21f271300d4e4d0ab01896887894a17f4dccd06660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3a678efcddc9ed45a05d416314a5ecab422d25ff996bb234fffbcd477040a310
MD5 1d1f28d5b7674399286f4a620a062398
BLAKE2b-256 b14f7cc03f270f56260325012e4bc1a53eb1f4ce28400666b4e3ca7c8a9986be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55c05eb0097fa3e83c0264fd9dca7cfda16f885eca74b1436278978e25062f87
MD5 879e8961cdeff370b057dd7e74244c5b
BLAKE2b-256 a659f9ab412afb29c56d283de8357d9ed85c3962bb57db269d3a4400858d4cbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 60e53710d2512dda1f9e89040faa411f1c181f9077f98a0bc6f6a7b25b2f6563
MD5 b89d33736de83caf3784c4227dbf16e6
BLAKE2b-256 0abffaf30594780dee0e686f290fd339b22cd942b43db120734a217a9ec4a080

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4b4e0e67c836db6ee79407ff66d580d081530d6e3fd1d9c8b0768c49bfcc190
MD5 6dec06f8997b3a12531c16ea3bc228f6
BLAKE2b-256 8bf2cc38cbc06a8d79f47050cdde03eaaccc44c033d883334c2f37c8854e7f74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 21b01bd58e9b00b51febd951780c7b10d21ae6b305fa22be354d083ce2c4f3df
MD5 dcf8bbc88867951d0486ab137fcd2860
BLAKE2b-256 bd401d06db9ad0020d276ad2acdd7fec7ab2e41c5704d6c2a35db9ba8a4e0f70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f85606053d2e635249d291fd6448f930dc86f8202607619e417ea63be1431d89
MD5 d1d72548437218d0fa03f7902623bb14
BLAKE2b-256 d41d6bbeb7b9d9e525a9851182589a7fe22256ea8e19f0edeac1da2831507a1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c6df7c5e0bb366bf037d5ebd781d74d015ec919971075dec89cf5f1e0a595ca6
MD5 a1a9d9c556c9b27aa72d5165778c5d54
BLAKE2b-256 c0c06d4cbce2ff2dfab8e3296dec754e7e32ea78fa08db3cf653b730c3df89bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0e15e3fd40d59b3f4c3809e1d03d161c8b98f261dc8b12e4e0770b8942442bf2
MD5 2b64e05ba8e86601426223752d836c85
BLAKE2b-256 35429d6fea54d9eb9a8ec3d0935d476f76f293c5df1242e68a33397213b5db10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ab4e05e586851ab496c022e9b9faeac5c1a57b9f878b740e157be719af30c104
MD5 3217ce6878ed3e61593b58241fbcdeec
BLAKE2b-256 db8a982fbc48ea0e58d0cf503980779778964fd68c3613a7ed178bb9b6d33ad4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.18.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe680100c6c75fb12d8327c3f58d97b9e86f80e788fae058412d2121ef83b5e8
MD5 7f716be2911ed9edcc35f17c9e4442a8
BLAKE2b-256 e3bdb2f36001ae4f5be17ef12e1671f9ef3011fdb321b4b921b7bf26b8462de8

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