kailash 0.9.9__py3-none-any.whl → 0.9.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kailash/__init__.py +1 -1
- kailash/nodes/data/async_sql.py +157 -16
- {kailash-0.9.9.dist-info → kailash-0.9.11.dist-info}/METADATA +49 -27
- {kailash-0.9.9.dist-info → kailash-0.9.11.dist-info}/RECORD +9 -8
- kailash-0.9.11.dist-info/licenses/LICENSE +243 -0
- kailash-0.9.11.dist-info/licenses/NOTICE +17 -0
- kailash-0.9.9.dist-info/licenses/LICENSE +0 -21
- {kailash-0.9.9.dist-info → kailash-0.9.11.dist-info}/WHEEL +0 -0
- {kailash-0.9.9.dist-info → kailash-0.9.11.dist-info}/entry_points.txt +0 -0
- {kailash-0.9.9.dist-info → kailash-0.9.11.dist-info}/top_level.txt +0 -0
kailash/__init__.py
CHANGED
kailash/nodes/data/async_sql.py
CHANGED
@@ -671,9 +671,11 @@ class MySQLAdapter(DatabaseAdapter):
|
|
671
671
|
fetch_mode: FetchMode = FetchMode.ALL,
|
672
672
|
fetch_size: Optional[int] = None,
|
673
673
|
transaction: Optional[Any] = None,
|
674
|
+
parameter_types: Optional[dict[str, str]] = None,
|
674
675
|
) -> Any:
|
675
676
|
"""Execute query and return results."""
|
676
677
|
# Use transaction connection if provided, otherwise get from pool
|
678
|
+
# Note: parameter_types is only used by PostgreSQL adapter
|
677
679
|
if transaction:
|
678
680
|
conn = transaction
|
679
681
|
async with conn.cursor() as cursor:
|
@@ -774,6 +776,10 @@ class MySQLAdapter(DatabaseAdapter):
|
|
774
776
|
class SQLiteAdapter(DatabaseAdapter):
|
775
777
|
"""SQLite adapter using aiosqlite."""
|
776
778
|
|
779
|
+
# Class-level shared connections for memory databases to solve isolation issues
|
780
|
+
_shared_memory_connections = {}
|
781
|
+
_connection_locks = {}
|
782
|
+
|
777
783
|
async def connect(self) -> None:
|
778
784
|
"""Establish connection pool."""
|
779
785
|
try:
|
@@ -784,13 +790,71 @@ class SQLiteAdapter(DatabaseAdapter):
|
|
784
790
|
)
|
785
791
|
|
786
792
|
# SQLite doesn't have true connection pooling
|
787
|
-
# We'll manage
|
793
|
+
# We'll manage connections based on database type
|
788
794
|
self._aiosqlite = aiosqlite
|
789
|
-
|
795
|
+
|
796
|
+
# Extract database path from connection string if database path not provided
|
797
|
+
if self.config.database:
|
798
|
+
self._db_path = self.config.database
|
799
|
+
elif self.config.connection_string:
|
800
|
+
# Parse SQLite connection string formats:
|
801
|
+
# sqlite:///path/to/file.db (absolute path)
|
802
|
+
# sqlite://path/to/file.db (relative path - rare)
|
803
|
+
# file:path/to/file.db (file URI scheme)
|
804
|
+
conn_str = self.config.connection_string
|
805
|
+
if conn_str.startswith("sqlite:///"):
|
806
|
+
# Absolute path: sqlite:///path/to/file.db -> /path/to/file.db
|
807
|
+
# Special case: sqlite:///:memory: -> :memory:
|
808
|
+
path_part = conn_str[9:] # Remove "sqlite://" to keep the leading slash
|
809
|
+
if path_part == "/:memory:":
|
810
|
+
self._db_path = ":memory:"
|
811
|
+
else:
|
812
|
+
self._db_path = path_part
|
813
|
+
elif conn_str.startswith("sqlite://"):
|
814
|
+
# Relative path: sqlite://path/to/file.db -> path/to/file.db
|
815
|
+
self._db_path = conn_str[9:] # Remove "sqlite://"
|
816
|
+
elif conn_str.startswith("file:"):
|
817
|
+
# File URI: file:path/to/file.db -> path/to/file.db
|
818
|
+
self._db_path = conn_str[5:] # Remove "file:"
|
819
|
+
else:
|
820
|
+
# Assume the connection string IS the path
|
821
|
+
self._db_path = conn_str
|
822
|
+
else:
|
823
|
+
raise NodeExecutionError(
|
824
|
+
"SQLite requires either 'database' path or 'connection_string'"
|
825
|
+
)
|
826
|
+
|
827
|
+
# Set up connection sharing for memory databases to prevent isolation
|
828
|
+
self._is_memory_db = self._db_path == ":memory:"
|
829
|
+
if self._is_memory_db:
|
830
|
+
import asyncio
|
831
|
+
|
832
|
+
# All :memory: databases should share the same connection to avoid isolation
|
833
|
+
self._memory_key = "global_memory_db"
|
834
|
+
if self._memory_key not in self._connection_locks:
|
835
|
+
self._connection_locks[self._memory_key] = asyncio.Lock()
|
836
|
+
|
837
|
+
async def _get_connection(self):
|
838
|
+
"""Get a database connection, using shared connection for memory databases."""
|
839
|
+
if self._is_memory_db:
|
840
|
+
# Use shared connection for memory databases to prevent isolation
|
841
|
+
async with self._connection_locks[self._memory_key]:
|
842
|
+
if self._memory_key not in self._shared_memory_connections:
|
843
|
+
# Create the shared memory connection
|
844
|
+
conn = await self._aiosqlite.connect(self._db_path)
|
845
|
+
conn.row_factory = self._aiosqlite.Row
|
846
|
+
self._shared_memory_connections[self._memory_key] = conn
|
847
|
+
return self._shared_memory_connections[self._memory_key]
|
848
|
+
else:
|
849
|
+
# For file databases, create new connections as before
|
850
|
+
conn = await self._aiosqlite.connect(self._db_path)
|
851
|
+
conn.row_factory = self._aiosqlite.Row
|
852
|
+
return conn
|
790
853
|
|
791
854
|
async def disconnect(self) -> None:
|
792
855
|
"""Close connection."""
|
793
|
-
#
|
856
|
+
# For memory databases, we keep the shared connection alive
|
857
|
+
# For file databases, connections are managed per-operation
|
794
858
|
pass
|
795
859
|
|
796
860
|
async def execute(
|
@@ -800,6 +864,7 @@ class SQLiteAdapter(DatabaseAdapter):
|
|
800
864
|
fetch_mode: FetchMode = FetchMode.ALL,
|
801
865
|
fetch_size: Optional[int] = None,
|
802
866
|
transaction: Optional[Any] = None,
|
867
|
+
parameter_types: Optional[dict[str, str]] = None,
|
803
868
|
) -> Any:
|
804
869
|
"""Execute query and return results."""
|
805
870
|
if transaction:
|
@@ -820,21 +885,43 @@ class SQLiteAdapter(DatabaseAdapter):
|
|
820
885
|
return [self._convert_row(dict(row)) for row in rows]
|
821
886
|
else:
|
822
887
|
# Create new connection for non-transactional queries
|
823
|
-
|
824
|
-
|
888
|
+
if self._is_memory_db:
|
889
|
+
# Use shared connection for memory databases
|
890
|
+
db = await self._get_connection()
|
825
891
|
cursor = await db.execute(query, params or [])
|
826
892
|
|
827
893
|
if fetch_mode == FetchMode.ONE:
|
828
894
|
row = await cursor.fetchone()
|
829
|
-
|
895
|
+
result = self._convert_row(dict(row)) if row else None
|
830
896
|
elif fetch_mode == FetchMode.ALL:
|
831
897
|
rows = await cursor.fetchall()
|
832
|
-
|
898
|
+
result = [self._convert_row(dict(row)) for row in rows]
|
833
899
|
elif fetch_mode == FetchMode.MANY:
|
834
900
|
if not fetch_size:
|
835
901
|
raise ValueError("fetch_size required for MANY mode")
|
836
902
|
rows = await cursor.fetchmany(fetch_size)
|
837
|
-
|
903
|
+
result = [self._convert_row(dict(row)) for row in rows]
|
904
|
+
|
905
|
+
# Commit for memory databases (needed for INSERT/UPDATE/DELETE)
|
906
|
+
await db.commit()
|
907
|
+
return result
|
908
|
+
else:
|
909
|
+
# Use context manager for file databases
|
910
|
+
async with self._aiosqlite.connect(self._db_path) as db:
|
911
|
+
db.row_factory = self._aiosqlite.Row
|
912
|
+
cursor = await db.execute(query, params or [])
|
913
|
+
|
914
|
+
if fetch_mode == FetchMode.ONE:
|
915
|
+
row = await cursor.fetchone()
|
916
|
+
return self._convert_row(dict(row)) if row else None
|
917
|
+
elif fetch_mode == FetchMode.ALL:
|
918
|
+
rows = await cursor.fetchall()
|
919
|
+
return [self._convert_row(dict(row)) for row in rows]
|
920
|
+
elif fetch_mode == FetchMode.MANY:
|
921
|
+
if not fetch_size:
|
922
|
+
raise ValueError("fetch_size required for MANY mode")
|
923
|
+
rows = await cursor.fetchmany(fetch_size)
|
924
|
+
return [self._convert_row(dict(row)) for row in rows]
|
838
925
|
|
839
926
|
await db.commit()
|
840
927
|
|
@@ -851,26 +938,44 @@ class SQLiteAdapter(DatabaseAdapter):
|
|
851
938
|
# Don't commit here - let transaction handling do it
|
852
939
|
else:
|
853
940
|
# Create new connection for non-transactional queries
|
854
|
-
|
941
|
+
if self._is_memory_db:
|
942
|
+
# Use shared connection for memory databases
|
943
|
+
db = await self._get_connection()
|
855
944
|
await db.executemany(query, params_list)
|
856
945
|
await db.commit()
|
946
|
+
else:
|
947
|
+
# Use context manager for file databases
|
948
|
+
async with self._aiosqlite.connect(self._db_path) as db:
|
949
|
+
await db.executemany(query, params_list)
|
950
|
+
await db.commit()
|
857
951
|
|
858
952
|
async def begin_transaction(self) -> Any:
|
859
953
|
"""Begin a transaction."""
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
954
|
+
if self._is_memory_db:
|
955
|
+
# Use shared connection for memory databases
|
956
|
+
db = await self._get_connection()
|
957
|
+
await db.execute("BEGIN")
|
958
|
+
return db
|
959
|
+
else:
|
960
|
+
# Create new connection for file databases
|
961
|
+
db = await self._aiosqlite.connect(self._db_path)
|
962
|
+
db.row_factory = self._aiosqlite.Row
|
963
|
+
await db.execute("BEGIN")
|
964
|
+
return db
|
864
965
|
|
865
966
|
async def commit_transaction(self, transaction: Any) -> None:
|
866
967
|
"""Commit a transaction."""
|
867
968
|
await transaction.commit()
|
868
|
-
|
969
|
+
# Don't close shared memory connections
|
970
|
+
if not self._is_memory_db:
|
971
|
+
await transaction.close()
|
869
972
|
|
870
973
|
async def rollback_transaction(self, transaction: Any) -> None:
|
871
974
|
"""Rollback a transaction."""
|
872
975
|
await transaction.rollback()
|
873
|
-
|
976
|
+
# Don't close shared memory connections
|
977
|
+
if not self._is_memory_db:
|
978
|
+
await transaction.close()
|
874
979
|
|
875
980
|
|
876
981
|
class DatabaseConfigManager:
|
@@ -1421,8 +1526,44 @@ class AsyncSQLDatabaseNode(AsyncNode):
|
|
1421
1526
|
# Re-initialize instance variables with updated config
|
1422
1527
|
self._reinitialize_from_config()
|
1423
1528
|
|
1424
|
-
#
|
1529
|
+
# Auto-detect database type from connection string if not explicitly set
|
1425
1530
|
db_type = self.config.get("database_type", "").lower()
|
1531
|
+
connection_string = self.config.get("connection_string")
|
1532
|
+
|
1533
|
+
# If database_type is the default and we have a connection string, try to auto-detect
|
1534
|
+
if (
|
1535
|
+
db_type == "postgresql"
|
1536
|
+
and connection_string
|
1537
|
+
and self.config.get("database_type")
|
1538
|
+
== self.get_parameters()["database_type"].default
|
1539
|
+
):
|
1540
|
+
try:
|
1541
|
+
# Simple detection based on connection string patterns
|
1542
|
+
conn_lower = connection_string.lower()
|
1543
|
+
if (
|
1544
|
+
connection_string == ":memory:"
|
1545
|
+
or conn_lower.endswith(".db")
|
1546
|
+
or conn_lower.endswith(".sqlite")
|
1547
|
+
or conn_lower.endswith(".sqlite3")
|
1548
|
+
or conn_lower.startswith("sqlite")
|
1549
|
+
or
|
1550
|
+
# File path without URL scheme (likely SQLite)
|
1551
|
+
("/" in connection_string and "://" not in connection_string)
|
1552
|
+
):
|
1553
|
+
db_type = "sqlite"
|
1554
|
+
self.config["database_type"] = "sqlite"
|
1555
|
+
elif conn_lower.startswith("mysql"):
|
1556
|
+
db_type = "mysql"
|
1557
|
+
self.config["database_type"] = "mysql"
|
1558
|
+
elif conn_lower.startswith(("postgresql", "postgres")):
|
1559
|
+
db_type = "postgresql"
|
1560
|
+
self.config["database_type"] = "postgresql"
|
1561
|
+
# Otherwise keep default postgresql
|
1562
|
+
except Exception:
|
1563
|
+
# If detection fails, keep the default
|
1564
|
+
pass
|
1565
|
+
|
1566
|
+
# Validate database type
|
1426
1567
|
if db_type not in ["postgresql", "mysql", "sqlite"]:
|
1427
1568
|
raise NodeValidationError(
|
1428
1569
|
f"Invalid database_type: {db_type}. "
|
@@ -1,20 +1,24 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: kailash
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.11
|
4
4
|
Summary: Python SDK for the Kailash container-node architecture
|
5
5
|
Home-page: https://github.com/integrum/kailash-python-sdk
|
6
6
|
Author: Integrum
|
7
7
|
Author-email: Integrum <info@integrum.com>
|
8
|
+
License: Apache-2.0 WITH Additional-Terms
|
8
9
|
Project-URL: Homepage, https://github.com/integrum/kailash-python-sdk
|
9
10
|
Project-URL: Bug Tracker, https://github.com/integrum/kailash-python-sdk/issues
|
11
|
+
Project-URL: License, https://github.com/integrum/kailash-python-sdk/blob/main/LICENSE
|
10
12
|
Classifier: Development Status :: 3 - Alpha
|
11
13
|
Classifier: Intended Audience :: Developers
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
12
15
|
Classifier: Programming Language :: Python :: 3
|
13
16
|
Classifier: Programming Language :: Python :: 3.11
|
14
17
|
Classifier: Programming Language :: Python :: 3.12
|
15
18
|
Requires-Python: >=3.11
|
16
19
|
Description-Content-Type: text/markdown
|
17
20
|
License-File: LICENSE
|
21
|
+
License-File: NOTICE
|
18
22
|
Requires-Dist: networkx>=2.7
|
19
23
|
Requires-Dist: pydantic>=1.9
|
20
24
|
Requires-Dist: matplotlib>=3.5
|
@@ -99,9 +103,9 @@ Dynamic: requires-python
|
|
99
103
|
<a href="https://pypi.org/project/kailash/"><img src="https://img.shields.io/pypi/v/kailash.svg" alt="PyPI version"></a>
|
100
104
|
<a href="https://pypi.org/project/kailash/"><img src="https://img.shields.io/pypi/pyversions/kailash.svg" alt="Python versions"></a>
|
101
105
|
<a href="https://pepy.tech/project/kailash"><img src="https://static.pepy.tech/badge/kailash" alt="Downloads"></a>
|
102
|
-
<img src="https://img.shields.io/badge/license-
|
106
|
+
<img src="https://img.shields.io/badge/license-Apache%202.0%20with%20Additional%20Terms-orange.svg" alt="Apache 2.0 with Additional Terms">
|
103
107
|
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black">
|
104
|
-
<img src="https://img.shields.io/badge/tests-
|
108
|
+
<img src="https://img.shields.io/badge/tests-4000%2B%20passing-brightgreen.svg" alt="Tests: 4000+ Passing">
|
105
109
|
<img src="https://img.shields.io/badge/performance-11x%20faster-yellow.svg" alt="Performance: 11x Faster">
|
106
110
|
<img src="https://img.shields.io/badge/docker-integrated-blue.svg" alt="Docker: Integrated">
|
107
111
|
<img src="https://img.shields.io/badge/AI-MCP%20validated-purple.svg" alt="AI: MCP Validated">
|
@@ -117,27 +121,28 @@ Dynamic: requires-python
|
|
117
121
|
|
118
122
|
---
|
119
123
|
|
120
|
-
## 🔥 Latest Release: v0.9.
|
124
|
+
## 🔥 Latest Release: v0.9.10 (August 1, 2025)
|
121
125
|
|
122
|
-
**
|
126
|
+
**License Update & IterativeLLMAgentNode API Simplification**
|
123
127
|
|
124
|
-
###
|
125
|
-
- **
|
126
|
-
- **
|
127
|
-
- **
|
128
|
-
- **
|
128
|
+
### 📄 License Changed to Apache 2.0 with Additional Terms
|
129
|
+
- **Changed**: From MIT to Apache License 2.0 with Additional Terms
|
130
|
+
- **Protection**: Prevents standalone commercial distribution of the SDK
|
131
|
+
- **Freedom**: Allows commercial use of derivatives and integration into larger systems
|
132
|
+
- **Patent Grant**: Includes Apache 2.0 patent protection clauses
|
129
133
|
|
130
|
-
###
|
131
|
-
- **
|
132
|
-
- **
|
133
|
-
- **
|
134
|
+
### 🤖 IterativeLLMAgentNode Improvements (v0.9.9)
|
135
|
+
- **Removed**: Mock mode entirely - real MCP execution always enabled
|
136
|
+
- **Simplified**: API by removing confusing `use_real_mcp` parameter
|
137
|
+
- **Enhanced**: Graceful fallback when MCP tools unavailable
|
138
|
+
- **Updated**: All documentation and examples with simplified API
|
134
139
|
|
135
|
-
###
|
136
|
-
- **
|
137
|
-
- **
|
138
|
-
- **
|
140
|
+
### 📦 Package Updates
|
141
|
+
- **kailash**: v0.9.10 - License update
|
142
|
+
- **kailash-nexus**: v1.0.6 - License update
|
143
|
+
- **kailash-dataflow**: v0.3.7 - License update
|
139
144
|
|
140
|
-
[Full Changelog](sdk-users/6-reference/changelogs/releases/v0.9.
|
145
|
+
[Full Changelog](sdk-users/6-reference/changelogs/releases/v0.9.10-2025-08-01.md) | [Core SDK 0.9.10](https://pypi.org/project/kailash/0.9.10/) | [Nexus 1.0.6](https://pypi.org/project/kailash-nexus/1.0.6/) | [DataFlow 0.3.7](https://pypi.org/project/kailash-dataflow/0.3.7/)
|
141
146
|
|
142
147
|
## 🎯 What Makes Kailash Different
|
143
148
|
|
@@ -153,7 +158,7 @@ Not just a toolkit - complete production-ready applications built on enterprise-
|
|
153
158
|
- **11x faster test execution** (117s → 10.75s) with smart isolation
|
154
159
|
- **31.8M operations/second** query performance baseline
|
155
160
|
- **30,000+ iterations/second** cyclic workflow execution
|
156
|
-
- **100% test pass rate** across
|
161
|
+
- **100% test pass rate** across 4,000+ tests
|
157
162
|
|
158
163
|
### 🤖 **AI-First Architecture**
|
159
164
|
- **A2A Google Protocol** for enterprise multi-agent coordination
|
@@ -193,7 +198,7 @@ kailash_python_sdk/
|
|
193
198
|
│ ├── kailash-mcp/ # Enterprise MCP platform
|
194
199
|
│ ├── ai_registry/ # Advanced RAG capabilities
|
195
200
|
│ └── user_management/ # Enterprise RBAC system
|
196
|
-
├── tests/ #
|
201
|
+
├── tests/ # 4,000+ tests (100% pass rate)
|
197
202
|
├── docs/ # Comprehensive documentation
|
198
203
|
└── examples/ # Feature validation examples
|
199
204
|
```
|
@@ -294,7 +299,7 @@ results, run_id = runtime.execute(workflow.build())
|
|
294
299
|
## 🎯 Key Features
|
295
300
|
|
296
301
|
### 🧪 **Testing Excellence**
|
297
|
-
- **
|
302
|
+
- **4,000+ tests** with 100% pass rate
|
298
303
|
- **11x performance improvement** (117s → 10.75s execution)
|
299
304
|
- **Docker integration** for real PostgreSQL, Redis, MongoDB
|
300
305
|
- **Smart isolation** without process forking overhead
|
@@ -342,7 +347,7 @@ results, run_id = runtime.execute(workflow.build())
|
|
342
347
|
|
343
348
|
### Recent Achievements
|
344
349
|
- **11x faster test execution**: 117s → 10.75s with smart isolation
|
345
|
-
- **100% test pass rate**:
|
350
|
+
- **100% test pass rate**: 4,000+ tests across all categories
|
346
351
|
- **31.8M operations/second**: Query performance baseline
|
347
352
|
- **30,000+ iterations/second**: Cyclic workflow execution
|
348
353
|
|
@@ -396,7 +401,7 @@ pip install kailash-user-management
|
|
396
401
|
|
397
402
|
### Comprehensive Test Suite
|
398
403
|
```bash
|
399
|
-
# All tests (
|
404
|
+
# All tests (4,000+ tests)
|
400
405
|
pytest
|
401
406
|
|
402
407
|
# Fast unit tests (11x faster execution)
|
@@ -491,7 +496,7 @@ git clone https://github.com/integrum/kailash-python-sdk.git
|
|
491
496
|
cd kailash-python-sdk
|
492
497
|
uv sync
|
493
498
|
|
494
|
-
# Run tests (
|
499
|
+
# Run tests (4,000+ tests)
|
495
500
|
pytest tests/unit/ --timeout=1 # Fast unit tests
|
496
501
|
pytest tests/integration/ --timeout=5 # Integration tests
|
497
502
|
pytest tests/e2e/ --timeout=10 # End-to-end tests
|
@@ -524,7 +529,7 @@ See [Contributing Guide](CONTRIBUTING.md) and [sdk-contributors/CLAUDE.md](sdk-c
|
|
524
529
|
- **Complete Application Framework**: DataFlow, Nexus, AI Registry, User Management
|
525
530
|
- **PyPI Integration**: All packages available with proper extras support
|
526
531
|
- **Performance Breakthrough**: 11x faster test execution
|
527
|
-
- **Testing Excellence**:
|
532
|
+
- **Testing Excellence**: 4,000+ tests with 100% pass rate
|
528
533
|
- **Enterprise Ready**: Production deployment patterns
|
529
534
|
|
530
535
|
### ✅ v0.7.0 - Major Framework Release
|
@@ -542,7 +547,24 @@ See [Contributing Guide](CONTRIBUTING.md) and [sdk-contributors/CLAUDE.md](sdk-c
|
|
542
547
|
|
543
548
|
## 📄 License
|
544
549
|
|
545
|
-
This project is licensed under the
|
550
|
+
This project is licensed under the **Apache License 2.0 with Additional Terms** that protect against standalone commercial distribution while encouraging innovation.
|
551
|
+
|
552
|
+
### ✅ What You CAN Do:
|
553
|
+
- **Use** Kailash SDK in your commercial applications and services
|
554
|
+
- **Create and sell** derivative works that add substantial functionality
|
555
|
+
- **Integrate** Kailash as a component of larger systems
|
556
|
+
- **Use internally** within your organization without restrictions
|
557
|
+
- **Provide services** using Kailash without distributing the SDK itself
|
558
|
+
|
559
|
+
### ❌ What You CANNOT Do:
|
560
|
+
- **Sell the SDK as-is** without substantial modifications
|
561
|
+
- **Repackage and sell** with only cosmetic changes
|
562
|
+
- **Distribute commercially** as a standalone product
|
563
|
+
|
564
|
+
### 📋 Summary:
|
565
|
+
We encourage commercial use of Kailash SDK as part of your innovative solutions while preventing direct resale of our work. This ensures the community benefits from continuous development while protecting the project's sustainability.
|
566
|
+
|
567
|
+
For complete license terms, see the [LICENSE](LICENSE) file. For commercial licensing inquiries or clarifications, please contact info@integrum.com.
|
546
568
|
|
547
569
|
## 🙏 Acknowledgments
|
548
570
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
kailash/__init__.py,sha256=
|
1
|
+
kailash/__init__.py,sha256=Nm6AU7y6IWWdXr9CuNwAH60wuVULzQpPUy5cLLTPgQ4,2772
|
2
2
|
kailash/__main__.py,sha256=vr7TVE5o16V6LsTmRFKG6RDKUXHpIWYdZ6Dok2HkHnI,198
|
3
3
|
kailash/access_control.py,sha256=MjKtkoQ2sg1Mgfe7ovGxVwhAbpJKvaepPWr8dxOueMA,26058
|
4
4
|
kailash/access_control_abac.py,sha256=FPfa_8PuDP3AxTjdWfiH3ntwWO8NodA0py9W8SE5dno,30263
|
@@ -203,7 +203,7 @@ kailash/nodes/compliance/data_retention.py,sha256=90bH_eGwlcDzUdklAJeXQM-RcuLUGQ
|
|
203
203
|
kailash/nodes/compliance/gdpr.py,sha256=ZMoHZjAo4QtGwtFCzGMrAUBFV3TbZOnJ5DZGZS87Bas,70548
|
204
204
|
kailash/nodes/data/__init__.py,sha256=f0h4ysvXxlyFcNJLvDyXrgJ0ixwDF1cS0pJ2QNPakhg,5213
|
205
205
|
kailash/nodes/data/async_connection.py,sha256=wfArHs9svU48bxGZIiixSV2YVn9cukNgEjagwTRu6J4,17250
|
206
|
-
kailash/nodes/data/async_sql.py,sha256=
|
206
|
+
kailash/nodes/data/async_sql.py,sha256=EPyWTP9B1ws9mCGdcJYU37of-qBklEuXlAMHwJFoQMU,112110
|
207
207
|
kailash/nodes/data/async_vector.py,sha256=HtwQLO25IXu8Vq80qzU8rMkUAKPQ2qM0x8YxjXHlygU,21005
|
208
208
|
kailash/nodes/data/bulk_operations.py,sha256=WVopmosVkIlweFxVt3boLdCPc93EqpYyQ1Ez9mCIt0c,34453
|
209
209
|
kailash/nodes/data/directory.py,sha256=fbfLqD_ijRubk-4xew3604QntPsyDxqaF4k6TpfyjDg,9923
|
@@ -403,9 +403,10 @@ kailash/workflow/templates.py,sha256=XQMAKZXC2dlxgMMQhSEOWAF3hIbe9JJt9j_THchhAm8
|
|
403
403
|
kailash/workflow/type_inference.py,sha256=i1F7Yd_Z3elTXrthsLpqGbOnQBIVVVEjhRpI0HrIjd0,24492
|
404
404
|
kailash/workflow/validation.py,sha256=r2zApGiiG8UEn7p5Ji842l8OR1_KftzDkWc7gg0cac0,44675
|
405
405
|
kailash/workflow/visualization.py,sha256=nHBW-Ai8QBMZtn2Nf3EE1_aiMGi9S6Ui_BfpA5KbJPU,23187
|
406
|
-
kailash-0.9.
|
407
|
-
kailash-0.9.
|
408
|
-
kailash-0.9.
|
409
|
-
kailash-0.9.
|
410
|
-
kailash-0.9.
|
411
|
-
kailash-0.9.
|
406
|
+
kailash-0.9.11.dist-info/licenses/LICENSE,sha256=9GYZHXVUmx6FdFRNzOeE_w7a_aEGeYbqTVmFtJlrbGk,13438
|
407
|
+
kailash-0.9.11.dist-info/licenses/NOTICE,sha256=9ssIK4LcHSTFqriXGdteMpBPTS1rSLlYtjppZ_bsjZ0,723
|
408
|
+
kailash-0.9.11.dist-info/METADATA,sha256=mVyKebe-SSC9dsVrf3tIJCEVbq2Oz--W9AA59itYRP0,23528
|
409
|
+
kailash-0.9.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
410
|
+
kailash-0.9.11.dist-info/entry_points.txt,sha256=M_q3b8PG5W4XbhSgESzIJjh3_4OBKtZFYFsOdkr2vO4,45
|
411
|
+
kailash-0.9.11.dist-info/top_level.txt,sha256=z7GzH2mxl66498pVf5HKwo5wwfPtt9Aq95uZUpH6JV0,8
|
412
|
+
kailash-0.9.11.dist-info/RECORD,,
|
@@ -0,0 +1,243 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright 2025 Integrum Global Pte Ltd
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
202
|
+
|
203
|
+
===========================================================================
|
204
|
+
ADDITIONAL TERMS AND CONDITIONS
|
205
|
+
===========================================================================
|
206
|
+
|
207
|
+
In addition to the Apache License 2.0 terms above, the following
|
208
|
+
restrictions apply:
|
209
|
+
|
210
|
+
1. PROHIBITION ON STANDALONE COMMERCIAL DISTRIBUTION
|
211
|
+
The Software may not be sold, licensed, or distributed on a standalone
|
212
|
+
basis for commercial purposes. This includes, but is not limited to:
|
213
|
+
- Selling the unmodified Software as a product
|
214
|
+
- Repackaging the Software with only cosmetic changes
|
215
|
+
- Offering the Software as-is through commercial channels
|
216
|
+
|
217
|
+
2. PERMITTED USES
|
218
|
+
The above restriction does NOT apply to:
|
219
|
+
a) Using the Software as a component of a larger application or service
|
220
|
+
b) Creating and distributing Derivative Works that add substantial new
|
221
|
+
functionality beyond the original Software
|
222
|
+
c) Using the Software internally within an organization
|
223
|
+
d) Providing services that use the Software without distributing it
|
224
|
+
e) Educational and non-commercial research use
|
225
|
+
|
226
|
+
3. SUBSTANTIAL MODIFICATION CRITERIA
|
227
|
+
For the purpose of these Additional Terms, "substantial new functionality"
|
228
|
+
means modifications that:
|
229
|
+
- Add significant features not present in the original Software
|
230
|
+
- Integrate the Software into a larger system as a component
|
231
|
+
- Adapt the Software for a specific industry or use case with meaningful
|
232
|
+
domain-specific enhancements
|
233
|
+
|
234
|
+
4. ATTRIBUTION FOR DERIVATIVE WORKS
|
235
|
+
Any distribution of Derivative Works must:
|
236
|
+
- Clearly indicate the modifications made
|
237
|
+
- Not imply endorsement by the original authors
|
238
|
+
- Maintain the copyright notice and license information
|
239
|
+
|
240
|
+
These Additional Terms are supplementary to, and do not replace or modify,
|
241
|
+
the Apache License 2.0 terms above. In case of any conflict between these
|
242
|
+
Additional Terms and the Apache License 2.0, these Additional Terms shall
|
243
|
+
prevail only to the extent of such conflict.
|
@@ -0,0 +1,17 @@
|
|
1
|
+
Kailash Python SDK
|
2
|
+
Copyright 2025 Integrum Global Pte Ltd
|
3
|
+
|
4
|
+
This product includes software developed at Integrum Global Pte Ltd
|
5
|
+
(https://github.com/Integrum-Global/kailash_python_sdk).
|
6
|
+
|
7
|
+
The Kailash Python SDK is an enterprise-grade workflow orchestration
|
8
|
+
framework with AI-first architecture, providing 115+ nodes across data,
|
9
|
+
AI, security, and transaction categories.
|
10
|
+
|
11
|
+
IMPORTANT LICENSING NOTE:
|
12
|
+
This software is licensed under the Apache License 2.0 with Additional Terms
|
13
|
+
that prohibit standalone commercial distribution. Please see the LICENSE file
|
14
|
+
for complete terms and conditions.
|
15
|
+
|
16
|
+
Third-party components included in this distribution may be subject to
|
17
|
+
separate license terms as noted in their respective license files.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2025 Integrum
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
File without changes
|
File without changes
|
File without changes
|