thordata-sdk 1.8.0__tar.gz → 1.8.1__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.
- {thordata_sdk-1.8.0/src/thordata_sdk.egg-info → thordata_sdk-1.8.1}/PKG-INFO +1 -1
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/pyproject.toml +1 -1
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/__init__.py +1 -1
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/browser/__init__.py +4 -3
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1/src/thordata_sdk.egg-info}/PKG-INFO +1 -1
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_browser.py +5 -1
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/LICENSE +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/README.md +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/setup.cfg +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/_utils.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/async_client.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/async_unlimited.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/browser/exceptions.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/browser/session.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/client.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/core/__init__.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/core/async_http_client.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/core/http_client.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/core/tunnel.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/enums.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/exceptions.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/models.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/retry.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/serp_engines.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/__init__.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/base.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/code.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/ecommerce.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/professional.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/search.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/social.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/travel.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/tools/video.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/types/__init__.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/types/common.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/types/proxy.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/types/serp.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/types/task.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/types/universal.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata/unlimited.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata_sdk.egg-info/SOURCES.txt +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata_sdk.egg-info/dependency_links.txt +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata_sdk.egg-info/requires.txt +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/src/thordata_sdk.egg-info/top_level.txt +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_async_client.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_async_client_errors.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_batch_creation.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_client.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_client_errors.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_enums.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_examples.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_exceptions.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_integration_proxy_protocols.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_models.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_retry.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_spec_parity.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_task_status_and_wait.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_tools.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_tools_coverage.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_unlimited.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_user_agent.py +0 -0
- {thordata_sdk-1.8.0 → thordata_sdk-1.8.1}/tests/test_utils.py +0 -0
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "thordata-sdk"
|
|
8
|
-
version = "1.8.
|
|
8
|
+
version = "1.8.1"
|
|
9
9
|
description = "The Official Python SDK for Thordata - AI Data Infrastructure & Proxy Network."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.9"
|
|
@@ -5,7 +5,7 @@ Official Python client for Thordata's Proxy Network, SERP API,
|
|
|
5
5
|
Universal Scraping API (Web Unlocker), and Web Scraper API.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
__version__ = "1.8.
|
|
8
|
+
__version__ = "1.8.1"
|
|
9
9
|
__author__ = "Thordata Developer Team/Kael Odin"
|
|
10
10
|
__email__ = "support@thordata.com"
|
|
11
11
|
|
|
@@ -6,11 +6,12 @@ Requires optional dependency: pip install thordata[browser]
|
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
+
from .exceptions import BrowserConnectionError, BrowserError
|
|
10
|
+
|
|
9
11
|
try:
|
|
10
|
-
from .exceptions import BrowserConnectionError, BrowserError
|
|
11
12
|
from .session import BrowserSession
|
|
12
13
|
|
|
13
14
|
__all__ = ["BrowserSession", "BrowserError", "BrowserConnectionError"]
|
|
14
15
|
except ImportError:
|
|
15
|
-
# Playwright not installed
|
|
16
|
-
__all__ = []
|
|
16
|
+
# Playwright not installed - BrowserSession not available
|
|
17
|
+
__all__ = ["BrowserError", "BrowserConnectionError"]
|
|
@@ -12,7 +12,11 @@ except ImportError:
|
|
|
12
12
|
PLAYWRIGHT_AVAILABLE = False
|
|
13
13
|
|
|
14
14
|
from thordata import AsyncThordataClient
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
if PLAYWRIGHT_AVAILABLE:
|
|
17
|
+
from thordata.browser import BrowserConnectionError, BrowserError, BrowserSession
|
|
18
|
+
else:
|
|
19
|
+
from thordata.browser import BrowserConnectionError, BrowserError
|
|
16
20
|
|
|
17
21
|
|
|
18
22
|
@pytest.mark.skipif(not PLAYWRIGHT_AVAILABLE, reason="Playwright not installed")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|