gl-browser-use-binary 0.0.0b5__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.
- gl_browser_use/__init__.py +60 -0
- gl_browser_use/__init__.pyi +12 -0
- gl_browser_use/client.py +639 -0
- gl_browser_use/client.pyi +57 -0
- gl_browser_use/config.py +169 -0
- gl_browser_use/config.pyi +42 -0
- gl_browser_use/errors.py +119 -0
- gl_browser_use/errors.pyi +40 -0
- gl_browser_use/events.py +147 -0
- gl_browser_use/events.pyi +29 -0
- gl_browser_use/infrastructure/__init__.py +39 -0
- gl_browser_use/infrastructure/__init__.pyi +6 -0
- gl_browser_use/infrastructure/base.py +103 -0
- gl_browser_use/infrastructure/base.pyi +56 -0
- gl_browser_use/infrastructure/steel.py +296 -0
- gl_browser_use/infrastructure/steel.pyi +56 -0
- gl_browser_use/models.py +45 -0
- gl_browser_use/models.pyi +32 -0
- gl_browser_use/parsing.py +264 -0
- gl_browser_use/parsing.pyi +41 -0
- gl_browser_use/parsing_recovery.py +204 -0
- gl_browser_use/parsing_recovery.pyi +35 -0
- gl_browser_use/session_errors.py +72 -0
- gl_browser_use/session_errors.pyi +16 -0
- gl_browser_use/storage/__init__.py +39 -0
- gl_browser_use/storage/__init__.pyi +6 -0
- gl_browser_use/storage/base.py +125 -0
- gl_browser_use/storage/base.pyi +46 -0
- gl_browser_use/storage/minio_compatible.py +84 -0
- gl_browser_use/storage/minio_compatible.pyi +15 -0
- gl_browser_use_binary-0.0.0b5.dist-info/METADATA +236 -0
- gl_browser_use_binary-0.0.0b5.dist-info/RECORD +34 -0
- gl_browser_use_binary-0.0.0b5.dist-info/WHEEL +5 -0
- gl_browser_use_binary-0.0.0b5.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"""GL Browser Use SDK.
|
|
2
|
+
|
|
3
|
+
Public namespace for :class:`BrowserUseClient` and supporting models,
|
|
4
|
+
errors, infrastructure, and storage abstractions.
|
|
5
|
+
|
|
6
|
+
Authors:
|
|
7
|
+
Reinhart Linanda (reinhart.linanda@gdplabs.id)
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
from gl_browser_use.client import BrowserUseClient
|
|
13
|
+
from gl_browser_use.config import BrowserUseClientConfig
|
|
14
|
+
from gl_browser_use.errors import (
|
|
15
|
+
BrowserUseConfigurationError,
|
|
16
|
+
BrowserUseDependencyError,
|
|
17
|
+
BrowserUseExecutionError,
|
|
18
|
+
BrowserUseMissingDependencyError,
|
|
19
|
+
BrowserUseRetryExhaustedError,
|
|
20
|
+
BrowserUseSDKError,
|
|
21
|
+
)
|
|
22
|
+
from gl_browser_use.infrastructure import __getattr__ as _infrastructure_getattr
|
|
23
|
+
from gl_browser_use.infrastructure.base import BrowserInfrastructure, BrowserInfrastructureContext
|
|
24
|
+
from gl_browser_use.models import BrowserUseRunResult, BrowserUseStreamEvent
|
|
25
|
+
from gl_browser_use.storage import __getattr__ as _storage_getattr
|
|
26
|
+
from gl_browser_use.storage.base import ObjectStorage
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"BrowserUseClient",
|
|
30
|
+
"BrowserUseClientConfig",
|
|
31
|
+
"BrowserUseConfigurationError",
|
|
32
|
+
"BrowserUseDependencyError",
|
|
33
|
+
"BrowserUseExecutionError",
|
|
34
|
+
"BrowserUseMissingDependencyError",
|
|
35
|
+
"BrowserUseRetryExhaustedError",
|
|
36
|
+
"BrowserUseSDKError",
|
|
37
|
+
"BrowserUseRunResult",
|
|
38
|
+
"BrowserUseStreamEvent",
|
|
39
|
+
"BrowserInfrastructure",
|
|
40
|
+
"BrowserInfrastructureContext",
|
|
41
|
+
"SteelBrowserInfrastructure",
|
|
42
|
+
"ObjectStorage",
|
|
43
|
+
"MinIOS3CompatibleStorage",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def __getattr__(name: str):
|
|
48
|
+
"""Expose optional classes lazily to avoid import-time dependency failures."""
|
|
49
|
+
if name == "SteelBrowserInfrastructure":
|
|
50
|
+
return _infrastructure_getattr(name)
|
|
51
|
+
if name == "MinIOS3CompatibleStorage":
|
|
52
|
+
return _storage_getattr(name)
|
|
53
|
+
raise AttributeError(f"module 'gl_browser_use' has no attribute {name!r}")
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def __dir__() -> list[str]:
|
|
57
|
+
return sorted(__all__)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
__version__ = "0.1.0"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from gl_browser_use.client import BrowserUseClient as BrowserUseClient
|
|
2
|
+
from gl_browser_use.config import BrowserUseClientConfig as BrowserUseClientConfig
|
|
3
|
+
from gl_browser_use.errors import BrowserUseConfigurationError as BrowserUseConfigurationError, BrowserUseDependencyError as BrowserUseDependencyError, BrowserUseExecutionError as BrowserUseExecutionError, BrowserUseMissingDependencyError as BrowserUseMissingDependencyError, BrowserUseRetryExhaustedError as BrowserUseRetryExhaustedError, BrowserUseSDKError as BrowserUseSDKError
|
|
4
|
+
from gl_browser_use.infrastructure.base import BrowserInfrastructure as BrowserInfrastructure, BrowserInfrastructureContext as BrowserInfrastructureContext
|
|
5
|
+
from gl_browser_use.models import BrowserUseRunResult as BrowserUseRunResult, BrowserUseStreamEvent as BrowserUseStreamEvent
|
|
6
|
+
from gl_browser_use.storage.base import ObjectStorage as ObjectStorage
|
|
7
|
+
|
|
8
|
+
__all__ = ['BrowserUseClient', 'BrowserUseClientConfig', 'BrowserUseConfigurationError', 'BrowserUseDependencyError', 'BrowserUseExecutionError', 'BrowserUseMissingDependencyError', 'BrowserUseRetryExhaustedError', 'BrowserUseSDKError', 'BrowserUseRunResult', 'BrowserUseStreamEvent', 'BrowserInfrastructure', 'BrowserInfrastructureContext', 'SteelBrowserInfrastructure', 'ObjectStorage', 'MinIOS3CompatibleStorage']
|
|
9
|
+
|
|
10
|
+
# Names in __all__ with no definition:
|
|
11
|
+
# MinIOS3CompatibleStorage
|
|
12
|
+
# SteelBrowserInfrastructure
|