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

Uploaded CPython 3.14Windows x86-64

kailash_enterprise-4.10.0-cp314-cp314-manylinux_2_28_x86_64.whl (19.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.10.0-cp314-cp314-manylinux_2_28_aarch64.whl (17.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.10.0-cp314-cp314-macosx_11_0_arm64.whl (16.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

kailash_enterprise-4.10.0-cp313-cp313-win_amd64.whl (17.9 MB view details)

Uploaded CPython 3.13Windows x86-64

kailash_enterprise-4.10.0-cp313-cp313-manylinux_2_28_x86_64.whl (19.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.10.0-cp313-cp313-manylinux_2_28_aarch64.whl (18.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.10.0-cp313-cp313-macosx_11_0_arm64.whl (16.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

kailash_enterprise-4.10.0-cp312-cp312-win_amd64.whl (17.9 MB view details)

Uploaded CPython 3.12Windows x86-64

kailash_enterprise-4.10.0-cp312-cp312-manylinux_2_28_x86_64.whl (19.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.10.0-cp312-cp312-manylinux_2_28_aarch64.whl (18.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.10.0-cp312-cp312-macosx_11_0_arm64.whl (16.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

kailash_enterprise-4.10.0-cp311-cp311-win_amd64.whl (18.0 MB view details)

Uploaded CPython 3.11Windows x86-64

kailash_enterprise-4.10.0-cp311-cp311-manylinux_2_28_x86_64.whl (19.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.10.0-cp311-cp311-manylinux_2_28_aarch64.whl (18.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.10.0-cp311-cp311-macosx_11_0_arm64.whl (16.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

kailash_enterprise-4.10.0-cp310-cp310-win_amd64.whl (18.0 MB view details)

Uploaded CPython 3.10Windows x86-64

kailash_enterprise-4.10.0-cp310-cp310-manylinux_2_28_x86_64.whl (19.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kailash_enterprise-4.10.0-cp310-cp310-manylinux_2_28_aarch64.whl (18.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.10.0-cp310-cp310-macosx_11_0_arm64.whl (16.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 21b9cdffc230e05d7165ba720456531d7bd63ad8bc25c319789d85e62a16e710
MD5 b51ea8abf880cc40120e403274fb22ee
BLAKE2b-256 302dd0a1a6caf4a19738d44dc1afcf97fa0b69c336aa8346d681a7fdc1e4cb60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7893d9b140ff7da580e6bd76189230ce6993297d0730f067c74faeaaa4924feb
MD5 a5167798a6dcd82d8fb99c370ae327d4
BLAKE2b-256 0f8cf8c4b4278f6316d4f2960db390700cdd64f386295eef94f9a0fa249b44f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80d53a457dedcd4f378c84a0b35acdbb032fe898a5dd8c198e809a0ca2a13ba0
MD5 4773cf25445741764135c860738542fb
BLAKE2b-256 ffc5247c67e4cb1d75e45e34474370ec776c8f782975bd306f6e6d7b90b10d71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4bf4b2a818ab79b385a2d8b4549b1c08bf2cc968ba3665d69443d74e033b70e
MD5 c2a85fd5334b9c6e3cc7d918b81e5562
BLAKE2b-256 2594d6af68463d1683cefcadc427cbf2410d1cba0b356f5f2a11d17febe79305

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 54e095869e2abbfff2df32329be0fd16b362ae8a746d28bad12a495311b97afc
MD5 bd20118eff12fea7473acaf3cbe34d41
BLAKE2b-256 1367dfaaf19170523222e9abbf16baf39679923468f2cf3c17968d5f36a7eefe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a0cbc879887f01c552c3c67e2c0e29b68f1795484191695dd80f1ab51342a4e
MD5 ce8069ceffb8b7c5f8abfa262b4f7518
BLAKE2b-256 9810c067f12d3555eae6cff1e3dcdd385a4c8c9593e4d4d0b07635738a2c5d80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 589374ac43ff16dc7690729b281cdf82a44cff30e49ae70f4408bdbffce6a775
MD5 006c9b91bfa8174d3b5cb49a4b431032
BLAKE2b-256 edac783a9ef336beccd59cf242d7cffb75888f31497fc77ca7057074bcdbee65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 594e360c5e8df22f9e0f09115dfe8706d5476f1d9178a29910461dcc72b2c3af
MD5 949a2057d99d1eb499adfecc5bb38456
BLAKE2b-256 254a63106e319e8147e166473569b9841f12c3e1d71b3cdea3a8871c50a3e30e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 05db5793942ce14edfa2ea7f01644ed9f52983abac7ae18cad67ddfe97dcecb8
MD5 d3f1bb151367cc6c6ee76bb48bbc7977
BLAKE2b-256 36a5bada5e321c9486ef7f7230b4b882b9d51d8d5def0c3be4959aacd63b1ca4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37ed1907bf9e1471022e0e7dd51c49a4efcb5666f5af2b4f4db7231f3cf403e3
MD5 7cbfdac33f563cb8c60ea76a88904e57
BLAKE2b-256 5240a6fa8eb82fabdffdc1eb2b88c79779f806bbe7a032a1087981e4b59e8e8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d09f0507221cde479622417555f099144960d9e536b4e4259c7c15582e8f0095
MD5 0450f3d6fc7c70d5561f3136c032c0d2
BLAKE2b-256 484bf9f002d235e1f9248ae0d24a0032f5f9a5a47f55a1b42a099829b034520e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1e5ad5ac4c0d9b0bdfa2d8ab61dfabff18c0d93a798795bb4e821508605b6d93
MD5 9457ff9800b0e8019bb12f6cb3358f7e
BLAKE2b-256 7e6fcdc6621a53d4dda2933e48f647a3a775cfed7c97361105bddc50c71e4c02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 59de4e4d2799dad30fe2610e15ea35ea39a73ca6ea5bfbfcb7e96a9498af1c66
MD5 fb822556e8c51560a49fb36186ecb5f6
BLAKE2b-256 bc85d6b3b21cc9f459726930ac92db9e2eb36bc81c36c18c4368cd2118a58725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 52e6b47660bd6e576e034c57d9cbb2042aa9d1be344d3ae128557ae69baa2c1e
MD5 57efcb241a76995639588c6df62cd318
BLAKE2b-256 5377859f7d8ce47d5b0c05e22824fb27229f819fb5410c3e38521e4ca6dce647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eea7817f3b213ec1653b75f303f2f16952c999db603c608a27b301ce28c0a134
MD5 d0836fae1fab706b6910a8ef83ee0cd9
BLAKE2b-256 37c70b60759eeb48b4cfea88d73fdb2870977dad43b8b7399f0e515e051ee41b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f0748c9dbb80bc8f7c321c7302d5c85472fa2d9cae05592536141cef05038fb7
MD5 95052e395726bb315ad101fb2dee4ce9
BLAKE2b-256 b129f93ccdf14aeddc0a27fdf1ba7656c0ca69f419310ef65658b9432e2df479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 219540aedf65f2823720fdb48d7d6aed546b86d2ea017a6809a36bce0441952f
MD5 b30b6bdccfca647649dc867b9a661fe4
BLAKE2b-256 47366bd0cb6af5f56a09b184218dd81be9a1d22f116202d342d233e95fe0c7ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2f9d29048740be0e72ab5053bbc93ea2eb37bbe9d877255bdd86b3caed054cad
MD5 078705182f6845927d95606eee0ba7bb
BLAKE2b-256 63c6d34399a8af881d6f8dd72b20dd5f5702f2f6e8fa4bec48f25e4d4d06f834

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0a5a135ca0090cbae3bd1447fe27d863b5af52f972525ee0f0428df3c74e48bb
MD5 ac061853fcfc6b185f06948bd0f35e06
BLAKE2b-256 dde71306ec84e1dfde0b789fdfdc1dfc56dec20f6cf21f4bee17d5e9269bbc29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.10.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 934a9ffa54ad75ce4c9fdc1b7532e6b38f9e0b1d8e11c15e30231318b50a64ac
MD5 344cd1c06dc372ebc3a86b678da8ebc5
BLAKE2b-256 c57d6bdf1fdeacaff36adb55b95bd0d10b160d45458467d91eb048cf822faafb

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