simplai-sdk 0.1.0__py3-none-any.whl → 0.2.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simplai_sdk
3
- Version: 0.1.0
3
+ Version: 0.2.1
4
4
  Summary: SimplAI Python SDK for agents, workflows, and traces
5
5
  Author-email: SimplAI <support@simplai.ai>
6
6
  License: MIT License
@@ -56,7 +56,7 @@ Python SDK for interacting with SimplAI's agents, workflows, and traces.
56
56
  Install the SDK in editable mode for development:
57
57
 
58
58
  ```bash
59
- pip install simplai
59
+ pip install simplai-sdk
60
60
  ```
61
61
 
62
62
  ### Install Dependencies
@@ -70,7 +70,7 @@ pip install -r requirements.txt
70
70
  ### Using the SimplAI Class
71
71
 
72
72
  ```python
73
- from simplai import SimplAI
73
+ from simplai_sdk import SimplAI
74
74
  import asyncio
75
75
 
76
76
 
@@ -99,7 +99,7 @@ asyncio.run(main())
99
99
  Stream responses and optionally use `on_chunk` to handle each chunk. The first chunk may contain `trace_id` and `node_id` (in a `role: "trace"` message); the final `AgentResult` also has `trace_id` and `node_id`.
100
100
 
101
101
  ```python
102
- from simplai import SimplAI
102
+ from simplai_sdk import SimplAI
103
103
  import asyncio
104
104
  import json
105
105
 
@@ -140,7 +140,7 @@ asyncio.run(main())
140
140
  Fetch a trace sub-tree by `tree_id` (same as `trace_id`) and `node_id`. This is synchronous.
141
141
 
142
142
  ```python
143
- from simplai import SimplAI
143
+ from simplai_sdk import SimplAI
144
144
 
145
145
  simplai = SimplAI()
146
146
 
@@ -163,7 +163,7 @@ The SDK provides several functions for executing workflows and managing their ex
163
163
  Execute a workflow and get the execution ID immediately without waiting for completion.
164
164
 
165
165
  ```python
166
- from simplai import SimplAI
166
+ from simplai_sdk import SimplAI
167
167
  import asyncio
168
168
 
169
169
 
@@ -191,7 +191,7 @@ asyncio.run(main())
191
191
  Get the execution result and status by execution ID. Use this to check the status of a previously started execution.
192
192
 
193
193
  ```python
194
- from simplai import SimplAI
194
+ from simplai_sdk import SimplAI
195
195
  import asyncio
196
196
 
197
197
 
@@ -222,7 +222,7 @@ asyncio.run(main())
222
222
  Execute a workflow and automatically poll until completion. This is a convenience function that combines `execute_workflow` and `get_tool_result` with polling logic.
223
223
 
224
224
  ```python
225
- from simplai import SimplAI
225
+ from simplai_sdk import SimplAI
226
226
  import asyncio
227
227
 
228
228
 
@@ -265,7 +265,7 @@ asyncio.run(main())
265
265
  Cancel a running or pending workflow execution.
266
266
 
267
267
  ```python
268
- from simplai import SimplAI
268
+ from simplai_sdk import SimplAI
269
269
  import asyncio
270
270
 
271
271
 
@@ -299,7 +299,7 @@ The SDK provides functions for executing workflows in bulk using CSV files. Bulk
299
299
  Trigger a bulk run to process multiple records from a CSV file. The file should be accessible via a URL (e.g., S3, HTTP, etc.).
300
300
 
301
301
  ```python
302
- from simplai import SimplAI
302
+ from simplai_sdk import SimplAI
303
303
  import asyncio
304
304
 
305
305
 
@@ -344,7 +344,7 @@ asyncio.run(main())
344
344
  Get the current status and progress of a bulk run by bulk run ID.
345
345
 
346
346
  ```python
347
- from simplai import SimplAI
347
+ from simplai_sdk import SimplAI
348
348
  import asyncio
349
349
 
350
350
 
@@ -380,7 +380,7 @@ asyncio.run(main())
380
380
  Cancel a running or pending bulk run.
381
381
 
382
382
  ```python
383
- from simplai import SimplAI
383
+ from simplai_sdk import SimplAI
384
384
  import asyncio
385
385
 
386
386
 
@@ -412,7 +412,7 @@ asyncio.run(main())
412
412
  Download the results of a completed bulk run as CSV text.
413
413
 
414
414
  ```python
415
- from simplai import SimplAI
415
+ from simplai_sdk import SimplAI
416
416
  import asyncio
417
417
 
418
418
 
@@ -454,7 +454,7 @@ Schedule a workflow to run automatically based on a cron expression. Supports bo
454
454
  Processes data from a CSV file on a schedule. Requires a file URL and batch size.
455
455
 
456
456
  ```python
457
- from simplai import SimplAI
457
+ from simplai_sdk import SimplAI
458
458
  import asyncio
459
459
 
460
460
 
@@ -491,7 +491,7 @@ asyncio.run(main())
491
491
  Runs a workflow with static input values on a schedule. No file URL required.
492
492
 
493
493
  ```python
494
- from simplai import SimplAI
494
+ from simplai_sdk import SimplAI
495
495
  import asyncio
496
496
 
497
497
 
@@ -553,7 +553,7 @@ asyncio.run(main())
553
553
  Cancel a scheduled run using the `job_master_id` and `unique_id` returned from `schedule_run()`.
554
554
 
555
555
  ```python
556
- from simplai import SimplAI
556
+ from simplai_sdk import SimplAI
557
557
  import asyncio
558
558
 
559
559
 
@@ -591,7 +591,7 @@ The SDK provides functions for accessing billing and usage information for workf
591
591
  Get billing details (consumption, app name, app type) for a specific trace ID. This is useful for tracking costs and usage associated with a particular execution.
592
592
 
593
593
  ```python
594
- from simplai import SimplAI
594
+ from simplai_sdk import SimplAI
595
595
  import asyncio
596
596
 
597
597
 
@@ -629,7 +629,7 @@ asyncio.run(main())
629
629
  ### Using Core Functions Directly
630
630
 
631
631
  ```python
632
- from simplai import SimplAI
632
+ from simplai_sdk import SimplAI
633
633
  import asyncio
634
634
 
635
635
 
@@ -27,7 +27,7 @@ core/workflows/tool_execution/schema.py,sha256=To8uVGFNULcdupaCZbYnJTu4azAGTv0so
27
27
  exceptions/__init__.py,sha256=bUAIwVmyYtHhPvHOpO7LAYRJrzhY9N_KMB3-AfZCUlU,522
28
28
  simplai_sdk/__init__.py,sha256=vT8U1gQbTS4xXFyoVU767IMh9-5ZVqPaNjL5gF8YFKU,121
29
29
  simplai_sdk/simplai.py,sha256=U-jf1E4ygd6fyKNx6lMqy79_F2Fh15dAzW4E-pFOISY,8116
30
- simplai_sdk-0.1.0.dist-info/licenses/LICENSE,sha256=byn2pn7QZM4hs8uCv8VSaiZ1XTk5KrpNSWZ7hYc2EpY,1064
30
+ simplai_sdk-0.2.1.dist-info/licenses/LICENSE,sha256=byn2pn7QZM4hs8uCv8VSaiZ1XTk5KrpNSWZ7hYc2EpY,1064
31
31
  traces/__init__.py,sha256=Wn1H6KU_JXIGlj-O0NBkz9lykh3Axwj9UqJf7Sa5QMk,37
32
32
  traces/agents/__init__.py,sha256=wzwdX5Bxkol_ikS6x2M5wyM_zEAzlbM0NP6dJI9LmTU,1087
33
33
  traces/agents/api.py,sha256=Afv_blHayN1GwBxaSmcyTgugioyg62E9Fg67xsBNTeA,10730
@@ -36,7 +36,7 @@ traces/agents/models.py,sha256=HVxHQJtixau-B0x0OwwUexnaJuOsKrAYkXRAtoPg0cs,8629
36
36
  traces/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  utils/config.py,sha256=uaEGZ3QfYOhKK34d5RBbuIVP18Lue2ZcLz-Hpuv_p_c,3354
39
- simplai_sdk-0.1.0.dist-info/METADATA,sha256=5RVEFOafHbdkvTT3zDWoZ-YoFLwt_Syuc-Oxb2jLnS8,23617
40
- simplai_sdk-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
41
- simplai_sdk-0.1.0.dist-info/top_level.txt,sha256=CznxFBTncbDBZKLnqjDee5bfUXPKrrKXD4qVKq54SeA,59
42
- simplai_sdk-0.1.0.dist-info/RECORD,,
39
+ simplai_sdk-0.2.1.dist-info/METADATA,sha256=Pebt_UJw17kBHz5DqOfvXNeAb38BWvd2lhY0p7i2hpY,23685
40
+ simplai_sdk-0.2.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
41
+ simplai_sdk-0.2.1.dist-info/top_level.txt,sha256=CznxFBTncbDBZKLnqjDee5bfUXPKrrKXD4qVKq54SeA,59
42
+ simplai_sdk-0.2.1.dist-info/RECORD,,