daita-client 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.
- daita_client-0.1.0/PKG-INFO +21 -0
- daita_client-0.1.0/daita_client/__init__.py +35 -0
- daita_client-0.1.0/daita_client/client.py +810 -0
- daita_client-0.1.0/daita_client/exceptions.py +91 -0
- daita_client-0.1.0/daita_client/models.py +306 -0
- daita_client-0.1.0/daita_client/py.typed +0 -0
- daita_client-0.1.0/daita_client.egg-info/PKG-INFO +21 -0
- daita_client-0.1.0/daita_client.egg-info/SOURCES.txt +13 -0
- daita_client-0.1.0/daita_client.egg-info/dependency_links.txt +1 -0
- daita_client-0.1.0/daita_client.egg-info/requires.txt +7 -0
- daita_client-0.1.0/daita_client.egg-info/top_level.txt +1 -0
- daita_client-0.1.0/pyproject.toml +45 -0
- daita_client-0.1.0/setup.cfg +4 -0
- daita_client-0.1.0/tests/test_client.py +415 -0
- daita_client-0.1.0/tests/test_models.py +94 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: daita-client
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Daita Client — Call your hosted Daita agents from any Python project
|
|
5
|
+
Author-email: Daita <support@daita-tech.io>
|
|
6
|
+
License: Proprietary
|
|
7
|
+
Project-URL: Homepage, https://daita-tech.io
|
|
8
|
+
Project-URL: Documentation, https://docs.daita-tech.io
|
|
9
|
+
Keywords: ai,agents,sdk,daita
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Requires-Dist: httpx>=0.27.0
|
|
17
|
+
Provides-Extra: dev
|
|
18
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
19
|
+
Requires-Dist: pytest-asyncio>=0.26.0; extra == "dev"
|
|
20
|
+
Requires-Dist: respx>=0.21.0; extra == "dev"
|
|
21
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from .client import DaitaClient, run_agent, run_workflow, run_agent_async, run_workflow_async
|
|
2
|
+
from .models import ExecutionResult, ScheduledTask, WebhookTrigger
|
|
3
|
+
from .exceptions import (
|
|
4
|
+
ExecutionError,
|
|
5
|
+
AuthenticationError,
|
|
6
|
+
NotFoundError,
|
|
7
|
+
ValidationError,
|
|
8
|
+
RateLimitError,
|
|
9
|
+
ExecutionTimeoutError,
|
|
10
|
+
ServerError,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
__version__ = "0.1.0"
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
# Primary client
|
|
17
|
+
"DaitaClient",
|
|
18
|
+
# Convenience functions
|
|
19
|
+
"run_agent",
|
|
20
|
+
"run_workflow",
|
|
21
|
+
"run_agent_async",
|
|
22
|
+
"run_workflow_async",
|
|
23
|
+
# Models
|
|
24
|
+
"ExecutionResult",
|
|
25
|
+
"ScheduledTask",
|
|
26
|
+
"WebhookTrigger",
|
|
27
|
+
# Exceptions
|
|
28
|
+
"ExecutionError",
|
|
29
|
+
"AuthenticationError",
|
|
30
|
+
"NotFoundError",
|
|
31
|
+
"ValidationError",
|
|
32
|
+
"RateLimitError",
|
|
33
|
+
"ExecutionTimeoutError",
|
|
34
|
+
"ServerError",
|
|
35
|
+
]
|