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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

kailash_enterprise-4.14.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.14.0-cp311-cp311-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

kailash_enterprise-4.14.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.14.0-cp310-cp310-manylinux_2_28_aarch64.whl (18.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

kailash_enterprise-4.14.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.14.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ee9f09c83c2edf9c00561a44633cd73c8a98b29228cff8443714709d120f6853
MD5 d7ed07690cf3ec217a2ecbfc14016586
BLAKE2b-256 11c53aea2e8eea4616233d71ec83eed797b56413bc8200b16de666653bbea82d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10d0b3e6ede741399d9476fd0f44b22e8a29e7382bfc3c212e775100b49bab14
MD5 130f383cc5b3b9b12377ca97d42ae099
BLAKE2b-256 6e07801c1b1da5d1cb170a9c14cced360bd2ddfe47d39d43f0f1dc09b76a158c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9d567df934af22f6e6621b9332f7de976a1697525689e3cb62c1765700899ca3
MD5 5a7b30d0ab9b16e24ac7936bde6fa0b0
BLAKE2b-256 cca0ea021bf47784df5ae280c85d11c737a2668ac39ff911b8efbd2a3587f3ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b34c73687e16ceea9fff59b237e4452d54487b961c3e72281dfca08df5f6d847
MD5 cafa666b6cc1c53941f9b4862cb93fb2
BLAKE2b-256 16b1e3ed734ba9580a7a59c89cf650871dae668bc2439fff60b22fba16831842

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4a872e59af7d676872956b9aa999a055d113f5eb1aa007229c26222530dacb96
MD5 ec9a0f10e182019413ea02c6e2292a1b
BLAKE2b-256 21cf9f6d3ccddea38538df9491209b0df162ce765a0cd5ed497f10c8caa99d02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c7de7ae2375c46cc053406d3f171fd3905db405cad7d78dc8f5ce0ae2873b7d
MD5 caef8cd796ac4af1f299d2eedacd9b8c
BLAKE2b-256 fafc6f9b7b736c1b7562721c84fdbe55e9da9aed2acfe36f411c245de635b60f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f8cb0be9de125fe16aefe25ab01c7d2527f24b8c4e0967cdd7abf70873c775a4
MD5 32e667c9ff0743883eb8c430bde5f000
BLAKE2b-256 3c1affd7137a83ed9b4a553282ad65bc75042f1a9c3735c76289324cabedce5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 12dd5815a912febf86526d623202d5192e5392a332b701b6fead5a2e9079e1fe
MD5 513e3c5de596453b575984a1f9ac0815
BLAKE2b-256 b46a98756516bfb8186f5e1624e492a897bbbf8683f65cd5ee0dbbfdc7910fb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 016d24292894fd9303193734208f920213d3234ba21ccffba93c38088222179b
MD5 b0783e3143ad28c82986eb0f5d4b84f8
BLAKE2b-256 690f4b7eb1a7ce8a76d463bb3c3d4e097eba693af2939f5f5b0f4d8f6d1338df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e5c22a95352be318d25613ef36f9e0ddf52c19be4362dcc0c6821be94028527
MD5 4bf50746ed8b2ea656703003831349c8
BLAKE2b-256 dd79e423ae7436dbfde0f05ada29f3fb011412fab8fcea64642ccd6bffad9a21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bdfd99c70f0612b6bb8e677332f8cf1423e528288f4d7a6338785cb1ce903b8d
MD5 27a7082a47f7029cabfa7fca30a3f7d3
BLAKE2b-256 1a3a332532142cb4c2f26f59d783cd1413ec961f0c74cae117f2f25d4cc43d7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d3255b8feb4827e61b41ae01e37e5dc37c2341d1ad02a36f55d9b63a527b0d7
MD5 7c6ac449d1b0baf6d28f7a9ad47ce039
BLAKE2b-256 75dc13362ce765108e2b3b277230ad1ccd6512d324540bf1d8f2b2c815bb72e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9adeec5e865bbca38637b579aa855c1cd6400adea2fc75260045e146bdd163aa
MD5 97754000824dfd2f9a9e324a5f40af73
BLAKE2b-256 1564d76df9bb07f021add0fe7821015164dcfc36a4a1990598d8d1049505c786

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2c0e29d20581e40434091bc536edfea0e2d0f9c9753191bf5b4945197f5d60aa
MD5 b71aa2e91d25c44a13d40a5c9560e3bd
BLAKE2b-256 9001d0483a97f9ef1523087a30e7c51177e63a045a0da93d914dda2f6fbc1940

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1bbbda849fb71d6700403cdc794627f589fa5fff8ecaf2d5e433e9c425e76d10
MD5 ca87f3174d10bb6a5bbb1e19a6a9c446
BLAKE2b-256 26f415f8cc328d5d19e2473abbe032582a658fe815c66c1f0e3c9425626224f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0fd96d827eeb7922a59a94e0390c75a032b5e31a1027e5d70e4d4a9783323cdd
MD5 553e0e7fbe03cd2f0e59ae2a1d41a09a
BLAKE2b-256 879b5784345f1950291865e88ed84576bc6ac555245d1076b86c7bde677deff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 08cf3b20abf10c8057fd0ce0ad41660c435542c2a3fe9d95b5ed0474937df32c
MD5 4b40aeb5626574530d02bde240782bdd
BLAKE2b-256 be6c0426b14c21074239f2f4910c9be31f526863889abaa26c3311a63b1bd1b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 945282a175d3ae6b340064a513a74ece028e0aa332005ff010fbbf18309e6066
MD5 a8ab18a1133e3198622fc8393fab1655
BLAKE2b-256 d931c1549c9e9f096586ea5ebeb8e745fdb691a4c79527e65d0c11e723e27a52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2d1ef3d0cb0db285a7078a4a4e6d427e23e687ff793d2fe2ba3fa80759054746
MD5 2ced1897cb6194b0e3611de34628d2e8
BLAKE2b-256 25bde2803fe66135ea9969544c75b57e8c1eb76ebce919a762d73fb613b73c37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kailash_enterprise-4.14.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 97659f159ea0a3f093c620a0323274a83f4f4a8aaf7feb3c48a1d5899ac01fe5
MD5 711132ce81fa68ff82c01b176dcdcc69
BLAKE2b-256 a70e361d862d3b4b15d13189be77fa7387d5f163a0d2b75e9a30f4b19a8c4245

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