airia 0.1.34__py3-none-any.whl → 0.1.36__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.
- airia/__init__.py +15 -2
- airia/client/_request_handler/async_request_handler.py +2 -2
- airia/client/_request_handler/base_request_handler.py +2 -3
- airia/client/_request_handler/sync_request_handler.py +2 -2
- airia/client/async_client.py +5 -6
- airia/client/base_client.py +2 -3
- airia/client/sync_client.py +5 -6
- airia/logs.py +178 -48
- airia/types/api/pipelines_config/__init__.py +30 -14
- airia/types/api/pipelines_config/export_pipeline_definition.py +581 -70
- {airia-0.1.34.dist-info → airia-0.1.36.dist-info}/METADATA +10 -4
- {airia-0.1.34.dist-info → airia-0.1.36.dist-info}/RECORD +15 -15
- {airia-0.1.34.dist-info → airia-0.1.36.dist-info}/WHEEL +0 -0
- {airia-0.1.34.dist-info → airia-0.1.36.dist-info}/licenses/LICENSE +0 -0
- {airia-0.1.34.dist-info → airia-0.1.36.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airia
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.36
|
|
4
4
|
Summary: Python SDK for Airia API
|
|
5
5
|
Author-email: Airia LLC <support@airia.com>
|
|
6
6
|
License: MIT
|
|
@@ -16,8 +16,7 @@ Requires-Python: >=3.9
|
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: requests>=2.32.3
|
|
19
|
-
Requires-Dist: aiohttp>=3.
|
|
20
|
-
Requires-Dist: loguru>=0.7.3
|
|
19
|
+
Requires-Dist: aiohttp>=3.13.3
|
|
21
20
|
Requires-Dist: pydantic>=2.11.0
|
|
22
21
|
Provides-Extra: anthropic
|
|
23
22
|
Requires-Dist: anthropic>=0.49.0; extra == "anthropic"
|
|
@@ -189,13 +188,20 @@ This will create both wheel and source distribution in the `dist/` directory.
|
|
|
189
188
|
- Core dependencies:
|
|
190
189
|
- requests
|
|
191
190
|
- aiohttp
|
|
192
|
-
- loguru
|
|
193
191
|
- pydantic
|
|
194
192
|
|
|
195
193
|
- Optional dependencies:
|
|
196
194
|
- OpenAI gateway: `openai>=1.74.0`
|
|
197
195
|
- Anthropic gateway: `anthropic>=0.49.0`
|
|
198
196
|
|
|
197
|
+
## Features
|
|
198
|
+
|
|
199
|
+
- **Synchronous and Asynchronous Clients**: Choose between sync (`AiriaClient`) or async (`AiriaAsyncClient`) based on your needs
|
|
200
|
+
- **Colored Logging**: Built-in colored console logging using ANSI codes (no additional dependencies)
|
|
201
|
+
- **Correlation ID Tracking**: Automatic request tracing with correlation IDs
|
|
202
|
+
- **Gateway Support**: Optional OpenAI and Anthropic gateway integration
|
|
203
|
+
- **Type Safety**: Full type hints and Pydantic models for request/response validation
|
|
204
|
+
|
|
199
205
|
## Development
|
|
200
206
|
|
|
201
207
|
To run tests (make sure you have development dependencies installed):
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
airia/__init__.py,sha256=
|
|
1
|
+
airia/__init__.py,sha256=YZckWSf7Fy41v0ypf5QtqavLb1KxQwwVwk25sxx_W90,413
|
|
2
2
|
airia/constants.py,sha256=oKABowOTsJPIQ1AgtVpNN73oKuhh1DekBC5axYSm8lY,647
|
|
3
3
|
airia/exceptions.py,sha256=l1FCKlWC6tONvAxSxv4YEAXjpHEM-eQQQ3mEtSkJvhc,1233
|
|
4
|
-
airia/logs.py,sha256=
|
|
4
|
+
airia/logs.py,sha256=V5YSAq6TPGT0AxOUCwIxy69Zu8jQubzhhjf8deC0rSw,8370
|
|
5
5
|
airia/client/__init__.py,sha256=6gSQ9bl7j79q1HPE0o5py3IRdkwWWuU_7J4h05Dd2o8,127
|
|
6
|
-
airia/client/async_client.py,sha256=
|
|
7
|
-
airia/client/base_client.py,sha256=
|
|
8
|
-
airia/client/sync_client.py,sha256=
|
|
6
|
+
airia/client/async_client.py,sha256=am58aQ-VGgu7GYAo4aJfyNOmULQy2FgzvqzfEzx5S0A,7529
|
|
7
|
+
airia/client/base_client.py,sha256=bEs75GIUZ2DSfV2JLcRTq0VGGgf0HjcgsDeuBLYhuq0,3181
|
|
8
|
+
airia/client/sync_client.py,sha256=C7UA9_AWcSAgVEMpznLzScuPm5LefH-_RB6bQzTUvHk,7338
|
|
9
9
|
airia/client/_request_handler/__init__.py,sha256=FOdJMfzjN0Tw0TeD8mDJwHgte70Fw_j08EljtfulCvw,157
|
|
10
|
-
airia/client/_request_handler/async_request_handler.py,sha256=
|
|
11
|
-
airia/client/_request_handler/base_request_handler.py,sha256
|
|
12
|
-
airia/client/_request_handler/sync_request_handler.py,sha256=
|
|
10
|
+
airia/client/_request_handler/async_request_handler.py,sha256=TqjiyMG88PCsXL0lzIFpXkzP-GljtDvNpp8KSR_7d7Q,11556
|
|
11
|
+
airia/client/_request_handler/base_request_handler.py,sha256=-_RhSb0nAKZf5-oNZM9jyeIcnbqX58Ht1a66qmlPuGA,3515
|
|
12
|
+
airia/client/_request_handler/sync_request_handler.py,sha256=ce5ryMJRFhtyhnlL_Zspjf_MSiHOTvz75nA9LfhsUbc,10668
|
|
13
13
|
airia/client/attachments/__init__.py,sha256=EId17aIpzEs6Qw1R2DNzetpxYDJZDzLN4J_IrH2wYE8,137
|
|
14
14
|
airia/client/attachments/async_attachments.py,sha256=FhMQdQBM5zCrxwcTdje39fEvvVOH3lyryBMuIoMWb4o,1771
|
|
15
15
|
airia/client/attachments/base_attachments.py,sha256=Gaqtm5Gc-vSm8uoJT-qm6yawUR0LhIcg6_CPR0-NELY,1777
|
|
@@ -81,8 +81,8 @@ airia/types/api/pipeline_execution/_pipeline_execution.py,sha256=Y167Tdt0XHY2ZGV
|
|
|
81
81
|
airia/types/api/pipeline_execution/get_pipeline_execution.py,sha256=Mkp3bV9sajVq4GARVyJviFWPR2BEtLCbZZLHTgQqcSI,2925
|
|
82
82
|
airia/types/api/pipeline_import/__init__.py,sha256=5m8e4faOYGCEFLQWJgj-v5H4NXPNtnlAKAxA4tGJUbw,267
|
|
83
83
|
airia/types/api/pipeline_import/create_agent_from_pipeline_definition.py,sha256=vn2aZGPnahmstHYKKMMN1hyTMRWFa2uAjpAYGwaI2xg,4394
|
|
84
|
-
airia/types/api/pipelines_config/__init__.py,sha256=
|
|
85
|
-
airia/types/api/pipelines_config/export_pipeline_definition.py,sha256=
|
|
84
|
+
airia/types/api/pipelines_config/__init__.py,sha256=6nxX-y1cAp66aupdzG_EvHeizBNoJ56i5nhRQIp2kbg,2752
|
|
85
|
+
airia/types/api/pipelines_config/export_pipeline_definition.py,sha256=2rrniWhNihzyDK-w8ppYMxksl-hdqisWQFdfogiiZYw,79193
|
|
86
86
|
airia/types/api/pipelines_config/get_pipeline_config.py,sha256=gvyp_xGpxr3Elcsu04JSQRPDvjmxRCPDAAR0rbE-oGs,23538
|
|
87
87
|
airia/types/api/pipelines_config/get_pipelines_config.py,sha256=RbiX5zISxzGRxzPGHe7QpO-Ro-0woQsPGLxtiP4Y4K4,15955
|
|
88
88
|
airia/types/api/project/__init__.py,sha256=ervHvCeqt08JkMRsSrG1ZnQshE70of-8kf4VeW2HG9c,113
|
|
@@ -95,8 +95,8 @@ airia/types/api/tools/_tools.py,sha256=PSJYFok7yQdE4it55iQmbryFzKN54nT6N161X1Rkp
|
|
|
95
95
|
airia/types/sse/__init__.py,sha256=KWnNTfsQnthfrU128pUX6ounvSS7DvjC-Y21FE-OdMk,1863
|
|
96
96
|
airia/types/sse/sse_messages.py,sha256=asq9KG5plT2XSgQMz-Nqo0WcKlXvE8UT3E-WLhCegPk,30244
|
|
97
97
|
airia/utils/sse_parser.py,sha256=XCTkuaroYWaVQOgBq8VpbseQYSAVruF69AvKUwZQKTA,4251
|
|
98
|
-
airia-0.1.
|
|
99
|
-
airia-0.1.
|
|
100
|
-
airia-0.1.
|
|
101
|
-
airia-0.1.
|
|
102
|
-
airia-0.1.
|
|
98
|
+
airia-0.1.36.dist-info/licenses/LICENSE,sha256=R3ClUMMKPRItIcZ0svzyj2taZZnFYw568YDNzN9KQ1Q,1066
|
|
99
|
+
airia-0.1.36.dist-info/METADATA,sha256=y-Qw5v6SJTdKg1-5E1hmSay-dhoIqE0Dpxctm48Ju7E,4949
|
|
100
|
+
airia-0.1.36.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
101
|
+
airia-0.1.36.dist-info/top_level.txt,sha256=qUQEKfs_hdOYTwjKj1JZbRhS5YeXDNaKQaVTrzabS6w,6
|
|
102
|
+
airia-0.1.36.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|