asteroid-odyssey 1.0.3__tar.gz → 1.2.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.
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/PKG-INFO +2 -1
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/pyproject.toml +3 -2
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/src/asteroid_odyssey/__init__.py +10 -2
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/__init__.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/api/__init__.py +7 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/api/agent_profile_api.py +1696 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/api/api_api.py +4 -4
- asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client/api/sdk_api.py → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/api/execution_api.py +314 -14
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/api_client.py +6 -6
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/configuration.py +2 -2
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/__init__.py +34 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/agent_profile.py +118 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/country_code.py +44 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/create_agent_profile_request.py +112 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/credential.py +95 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/delete_agent_profile200_response.py +87 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/execution_result_response.py +2 -2
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/execution_status_response.py +1 -1
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/proxy_type.py +37 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen/models/update_agent_profile_request.py +112 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/rest.py +1 -1
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/__init__.py +99 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/api/__init__.py +5 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/api/execution_api.py +625 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/api_client.py +801 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/api_response.py +21 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/configuration.py +612 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/exceptions.py +216 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/__init__.py +42 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_completed.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_failed.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_started.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_generic.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_status_changed.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_completed.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_started.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_terminal.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_transitioned_node.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/activity_payload_union_user_message_received.py +100 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/error.py +89 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity.py +98 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_action_completed_payload.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_action_failed_payload.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_action_started_payload.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_generic_payload.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_payload_union.py +252 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_status_changed_payload.py +88 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_step_completed_payload.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_step_started_payload.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_transitioned_node_payload.py +89 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_activity_user_message_received_payload.py +89 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_status.py +43 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_terminal_payload.py +96 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/execution_user_messages_add_text_body.py +87 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/models/versions.py +37 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/py.typed +0 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v2_gen/rest.py +258 -0
- asteroid_odyssey-1.2.0/src/asteroid_odyssey/client.py +971 -0
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/src/asteroid_odyssey.egg-info/PKG-INFO +2 -1
- asteroid_odyssey-1.2.0/src/asteroid_odyssey.egg-info/SOURCES.txt +75 -0
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/src/asteroid_odyssey.egg-info/requires.txt +1 -0
- asteroid_odyssey-1.0.3/src/asteroid_odyssey/client.py +0 -462
- asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client/__init__.py +0 -73
- asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client/api/__init__.py +0 -7
- asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client/api/execution_api.py +0 -335
- asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client/models/__init__.py +0 -27
- asteroid_odyssey-1.0.3/src/asteroid_odyssey.egg-info/SOURCES.txt +0 -46
- asteroid_odyssey-1.0.3/test/test_api_api.py +0 -45
- asteroid_odyssey-1.0.3/test/test_browser_session_recording_response.py +0 -52
- asteroid_odyssey-1.0.3/test/test_error_response.py +0 -52
- asteroid_odyssey-1.0.3/test/test_execution_api.py +0 -38
- asteroid_odyssey-1.0.3/test/test_execution_response.py +0 -52
- asteroid_odyssey-1.0.3/test/test_execution_result.py +0 -53
- asteroid_odyssey-1.0.3/test/test_execution_result_response.py +0 -60
- asteroid_odyssey-1.0.3/test/test_execution_status_response.py +0 -56
- asteroid_odyssey-1.0.3/test/test_health_check200_response.py +0 -51
- asteroid_odyssey-1.0.3/test/test_health_check500_response.py +0 -51
- asteroid_odyssey-1.0.3/test/test_sdk_api.py +0 -66
- asteroid_odyssey-1.0.3/test/test_status.py +0 -33
- asteroid_odyssey-1.0.3/test/test_structured_agent_execution_request.py +0 -52
- asteroid_odyssey-1.0.3/test/test_upload_execution_files200_response.py +0 -54
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/README.md +0 -0
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/setup.cfg +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/api_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/exceptions.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/browser_session_recording_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/error_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/execution_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/execution_result.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/health_check200_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/health_check500_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/status.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/structured_agent_execution_request.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/models/upload_execution_files200_response.py +0 -0
- {asteroid_odyssey-1.0.3/src/asteroid_odyssey/openapi_client → asteroid_odyssey-1.2.0/src/asteroid_odyssey/agents_v1_gen}/py.typed +0 -0
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/src/asteroid_odyssey.egg-info/dependency_links.txt +0 -0
- {asteroid_odyssey-1.0.3 → asteroid_odyssey-1.2.0}/src/asteroid_odyssey.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: asteroid-odyssey
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: A Python SDK for browser automation using Asteroid platform.
|
|
5
5
|
Author-email: David Mlcoch <founders@asteroid.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -21,6 +21,7 @@ Requires-Dist: python-dateutil>=2.8.2
|
|
|
21
21
|
Requires-Dist: pydantic>=2
|
|
22
22
|
Requires-Dist: typing-extensions>=4.7.1
|
|
23
23
|
Requires-Dist: requests>=2.28.0
|
|
24
|
+
Requires-Dist: cryptography>=41.0.0
|
|
24
25
|
Provides-Extra: dev
|
|
25
26
|
Requires-Dist: pytest>=7.2.1; extra == "dev"
|
|
26
27
|
Requires-Dist: pytest-cov>=2.8.1; extra == "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "asteroid-odyssey"
|
|
3
|
-
version = "1.0
|
|
3
|
+
version = "1.2.0"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name = "David Mlcoch", email = "founders@asteroid.com" },
|
|
6
6
|
]
|
|
@@ -15,7 +15,8 @@ dependencies = [
|
|
|
15
15
|
"python-dateutil>=2.8.2",
|
|
16
16
|
"pydantic>=2",
|
|
17
17
|
"typing-extensions>=4.7.1",
|
|
18
|
-
"requests>=2.28.0"
|
|
18
|
+
"requests>=2.28.0",
|
|
19
|
+
"cryptography>=41.0.0"
|
|
19
20
|
]
|
|
20
21
|
classifiers = [
|
|
21
22
|
"Programming Language :: Python :: 3",
|
|
@@ -6,8 +6,12 @@ from .client import (
|
|
|
6
6
|
get_execution_result,
|
|
7
7
|
wait_for_execution_result,
|
|
8
8
|
upload_execution_files,
|
|
9
|
-
get_browser_session_recording
|
|
9
|
+
get_browser_session_recording,
|
|
10
|
+
AsteroidAPIError,
|
|
11
|
+
ExecutionError,
|
|
12
|
+
TimeoutError
|
|
10
13
|
)
|
|
14
|
+
from .agents_v1_gen import ExecutionResult
|
|
11
15
|
|
|
12
16
|
__all__ = [
|
|
13
17
|
'AsteroidClient',
|
|
@@ -17,5 +21,9 @@ __all__ = [
|
|
|
17
21
|
'get_execution_result',
|
|
18
22
|
'wait_for_execution_result',
|
|
19
23
|
'upload_execution_files',
|
|
20
|
-
'get_browser_session_recording'
|
|
24
|
+
'get_browser_session_recording',
|
|
25
|
+
'AsteroidAPIError',
|
|
26
|
+
'ExecutionError',
|
|
27
|
+
'TimeoutError',
|
|
28
|
+
'ExecutionResult'
|
|
21
29
|
]
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Asteroid Agents API
|
|
7
|
+
|
|
8
|
+
Version 1 of the Asteroid Agents API
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: v1.0.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "1.0.0"
|
|
18
|
+
|
|
19
|
+
# Define package exports
|
|
20
|
+
__all__ = [
|
|
21
|
+
"APIApi",
|
|
22
|
+
"AgentProfileApi",
|
|
23
|
+
"ExecutionApi",
|
|
24
|
+
"ApiResponse",
|
|
25
|
+
"ApiClient",
|
|
26
|
+
"Configuration",
|
|
27
|
+
"OpenApiException",
|
|
28
|
+
"ApiTypeError",
|
|
29
|
+
"ApiValueError",
|
|
30
|
+
"ApiKeyError",
|
|
31
|
+
"ApiAttributeError",
|
|
32
|
+
"ApiException",
|
|
33
|
+
"AgentProfile",
|
|
34
|
+
"BrowserSessionRecordingResponse",
|
|
35
|
+
"CountryCode",
|
|
36
|
+
"CreateAgentProfileRequest",
|
|
37
|
+
"Credential",
|
|
38
|
+
"DeleteAgentProfile200Response",
|
|
39
|
+
"ErrorResponse",
|
|
40
|
+
"ExecutionResponse",
|
|
41
|
+
"ExecutionResult",
|
|
42
|
+
"ExecutionResultResponse",
|
|
43
|
+
"ExecutionStatusResponse",
|
|
44
|
+
"HealthCheck200Response",
|
|
45
|
+
"HealthCheck500Response",
|
|
46
|
+
"ProxyType",
|
|
47
|
+
"Status",
|
|
48
|
+
"StructuredAgentExecutionRequest",
|
|
49
|
+
"UpdateAgentProfileRequest",
|
|
50
|
+
"UploadExecutionFiles200Response",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
# import apis into sdk package
|
|
54
|
+
from asteroid_odyssey.agents_v1_gen.api.api_api import APIApi as APIApi
|
|
55
|
+
from asteroid_odyssey.agents_v1_gen.api.agent_profile_api import AgentProfileApi as AgentProfileApi
|
|
56
|
+
from asteroid_odyssey.agents_v1_gen.api.execution_api import ExecutionApi as ExecutionApi
|
|
57
|
+
|
|
58
|
+
# import ApiClient
|
|
59
|
+
from asteroid_odyssey.agents_v1_gen.api_response import ApiResponse as ApiResponse
|
|
60
|
+
from asteroid_odyssey.agents_v1_gen.api_client import ApiClient as ApiClient
|
|
61
|
+
from asteroid_odyssey.agents_v1_gen.configuration import Configuration as Configuration
|
|
62
|
+
from asteroid_odyssey.agents_v1_gen.exceptions import OpenApiException as OpenApiException
|
|
63
|
+
from asteroid_odyssey.agents_v1_gen.exceptions import ApiTypeError as ApiTypeError
|
|
64
|
+
from asteroid_odyssey.agents_v1_gen.exceptions import ApiValueError as ApiValueError
|
|
65
|
+
from asteroid_odyssey.agents_v1_gen.exceptions import ApiKeyError as ApiKeyError
|
|
66
|
+
from asteroid_odyssey.agents_v1_gen.exceptions import ApiAttributeError as ApiAttributeError
|
|
67
|
+
from asteroid_odyssey.agents_v1_gen.exceptions import ApiException as ApiException
|
|
68
|
+
|
|
69
|
+
# import models into sdk package
|
|
70
|
+
from asteroid_odyssey.agents_v1_gen.models.agent_profile import AgentProfile as AgentProfile
|
|
71
|
+
from asteroid_odyssey.agents_v1_gen.models.browser_session_recording_response import BrowserSessionRecordingResponse as BrowserSessionRecordingResponse
|
|
72
|
+
from asteroid_odyssey.agents_v1_gen.models.country_code import CountryCode as CountryCode
|
|
73
|
+
from asteroid_odyssey.agents_v1_gen.models.create_agent_profile_request import CreateAgentProfileRequest as CreateAgentProfileRequest
|
|
74
|
+
from asteroid_odyssey.agents_v1_gen.models.credential import Credential as Credential
|
|
75
|
+
from asteroid_odyssey.agents_v1_gen.models.delete_agent_profile200_response import DeleteAgentProfile200Response as DeleteAgentProfile200Response
|
|
76
|
+
from asteroid_odyssey.agents_v1_gen.models.error_response import ErrorResponse as ErrorResponse
|
|
77
|
+
from asteroid_odyssey.agents_v1_gen.models.execution_response import ExecutionResponse as ExecutionResponse
|
|
78
|
+
from asteroid_odyssey.agents_v1_gen.models.execution_result import ExecutionResult as ExecutionResult
|
|
79
|
+
from asteroid_odyssey.agents_v1_gen.models.execution_result_response import ExecutionResultResponse as ExecutionResultResponse
|
|
80
|
+
from asteroid_odyssey.agents_v1_gen.models.execution_status_response import ExecutionStatusResponse as ExecutionStatusResponse
|
|
81
|
+
from asteroid_odyssey.agents_v1_gen.models.health_check200_response import HealthCheck200Response as HealthCheck200Response
|
|
82
|
+
from asteroid_odyssey.agents_v1_gen.models.health_check500_response import HealthCheck500Response as HealthCheck500Response
|
|
83
|
+
from asteroid_odyssey.agents_v1_gen.models.proxy_type import ProxyType as ProxyType
|
|
84
|
+
from asteroid_odyssey.agents_v1_gen.models.status import Status as Status
|
|
85
|
+
from asteroid_odyssey.agents_v1_gen.models.structured_agent_execution_request import StructuredAgentExecutionRequest as StructuredAgentExecutionRequest
|
|
86
|
+
from asteroid_odyssey.agents_v1_gen.models.update_agent_profile_request import UpdateAgentProfileRequest as UpdateAgentProfileRequest
|
|
87
|
+
from asteroid_odyssey.agents_v1_gen.models.upload_execution_files200_response import UploadExecutionFiles200Response as UploadExecutionFiles200Response
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from asteroid_odyssey.agents_v1_gen.api.api_api import APIApi
|
|
5
|
+
from asteroid_odyssey.agents_v1_gen.api.agent_profile_api import AgentProfileApi
|
|
6
|
+
from asteroid_odyssey.agents_v1_gen.api.execution_api import ExecutionApi
|
|
7
|
+
|