alloy-runtime-sdk 0.1.0__tar.gz

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.
Files changed (35) hide show
  1. alloy_runtime_sdk-0.1.0/PKG-INFO +54 -0
  2. alloy_runtime_sdk-0.1.0/README.md +32 -0
  3. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/__init__.py +0 -0
  4. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/api_client/__init__.py +0 -0
  5. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/api_client/client.py +5451 -0
  6. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/api_client/pagination.py +296 -0
  7. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/concurrency.py +54 -0
  8. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/exceptions/__init__.py +0 -0
  9. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/exceptions/errors.py +168 -0
  10. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/logging/__init__.py +0 -0
  11. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/logging/config.py +617 -0
  12. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/logging/protocol.py +106 -0
  13. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/__init__.py +0 -0
  14. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/context.py +183 -0
  15. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/db.py +37 -0
  16. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/decorators.py +211 -0
  17. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/exceptions.py +39 -0
  18. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/http_context.py +260 -0
  19. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/runner.py +329 -0
  20. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/schema_extractor.py +177 -0
  21. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk/pipeline/types.py +93 -0
  22. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk.egg-info/PKG-INFO +54 -0
  23. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk.egg-info/SOURCES.txt +33 -0
  24. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk.egg-info/dependency_links.txt +1 -0
  25. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk.egg-info/requires.txt +6 -0
  26. alloy_runtime_sdk-0.1.0/alloy_runtime_sdk.egg-info/top_level.txt +1 -0
  27. alloy_runtime_sdk-0.1.0/pyproject.toml +58 -0
  28. alloy_runtime_sdk-0.1.0/setup.cfg +4 -0
  29. alloy_runtime_sdk-0.1.0/tests/test_api_client_audio.py +145 -0
  30. alloy_runtime_sdk-0.1.0/tests/test_api_client_errors.py +102 -0
  31. alloy_runtime_sdk-0.1.0/tests/test_api_client_knowledge.py +252 -0
  32. alloy_runtime_sdk-0.1.0/tests/test_api_client_sse_transport.py +312 -0
  33. alloy_runtime_sdk-0.1.0/tests/test_logging_config.py +676 -0
  34. alloy_runtime_sdk-0.1.0/tests/test_pipeline.py +682 -0
  35. alloy_runtime_sdk-0.1.0/tests/test_schema_extractor.py +250 -0
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: alloy-runtime-sdk
3
+ Version: 0.1.0
4
+ Summary: Python SDK for Alloy Runtime - client, pipeline, and logging
5
+ Author-email: Grant Jordan <gjordan1997@gmail.com>
6
+ Project-URL: Repository, https://github.com/alloy-runtime/alloy-runtime
7
+ Project-URL: Issues, https://github.com/alloy-runtime/alloy-runtime/issues
8
+ Keywords: alloy,api,client,python,sdk
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
+ Requires-Python: >=3.13
15
+ Description-Content-Type: text/markdown
16
+ Requires-Dist: httpx>=0.28.1
17
+ Requires-Dist: pydantic>=2.12.3
18
+ Requires-Dist: structlog>=24.1.0
19
+ Requires-Dist: alloy-runtime-types==0.1.0
20
+ Requires-Dist: uuid-extension>=0.2.0
21
+ Requires-Dist: psycopg[binary]>=3.2.0
22
+
23
+ # alloy-runtime-sdk
24
+
25
+ Python SDK for Alloy Runtime.
26
+
27
+ ## Install
28
+
29
+ ```bash
30
+ pip install alloy-runtime-sdk
31
+ ```
32
+
33
+ ## Quick start
34
+
35
+ ```python
36
+ from alloy_runtime_sdk.api_client.client import ApiClient
37
+
38
+ async def main() -> None:
39
+ async with ApiClient(
40
+ base_url="https://api.alloyruntime.com",
41
+ api_key="sk_live_your_key",
42
+ ) as client:
43
+ models = await client.list_models()
44
+ print(models)
45
+ ```
46
+
47
+ ## What it includes
48
+
49
+ - Authenticated HTTP client methods for the Alloy Runtime API.
50
+ - Pipeline runtime helpers for Python-based pipeline steps.
51
+ - Structured logging helpers used by runtime integrations.
52
+
53
+ The SDK depends on `alloy-runtime-types`, which is published separately for stable,
54
+ versioned cross-package compatibility.
@@ -0,0 +1,32 @@
1
+ # alloy-runtime-sdk
2
+
3
+ Python SDK for Alloy Runtime.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install alloy-runtime-sdk
9
+ ```
10
+
11
+ ## Quick start
12
+
13
+ ```python
14
+ from alloy_runtime_sdk.api_client.client import ApiClient
15
+
16
+ async def main() -> None:
17
+ async with ApiClient(
18
+ base_url="https://api.alloyruntime.com",
19
+ api_key="sk_live_your_key",
20
+ ) as client:
21
+ models = await client.list_models()
22
+ print(models)
23
+ ```
24
+
25
+ ## What it includes
26
+
27
+ - Authenticated HTTP client methods for the Alloy Runtime API.
28
+ - Pipeline runtime helpers for Python-based pipeline steps.
29
+ - Structured logging helpers used by runtime integrations.
30
+
31
+ The SDK depends on `alloy-runtime-types`, which is published separately for stable,
32
+ versioned cross-package compatibility.
File without changes