scrape-do-python 0.1.0__py3-none-any.whl → 0.1.1__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.
scrape_do/__init__.py CHANGED
@@ -0,0 +1,50 @@
1
+ """scrape-do-python — A Python SDK for the Scrape.do web-scraping proxy API.
2
+
3
+ The synchronous client (`ScrapeDoClient`) is the current public surface.
4
+ Async and proxy-mode clients, the Async-API queue, and domain plugins
5
+ are on the roadmap — see ROADMAP.md.
6
+
7
+ Common imports:
8
+ >>> from scrape_do import ScrapeDoClient, RequestParameters, ScrapeDoResponse
9
+ >>> from scrape_do import ScrapeDoError, RotatedSessionError
10
+
11
+ Full API reference: https://svdc1.github.io/scrape-do-python
12
+ """
13
+
14
+ from scrape_do.client import (
15
+ ScrapeDoClient,
16
+ SyncClientEventHooks,
17
+ SyncSessionValidator,
18
+ )
19
+ from scrape_do.exceptions import (
20
+ APIConnectionError,
21
+ AuthenticationError,
22
+ AuthenticationThrottleError,
23
+ BadRequestError,
24
+ RateLimitError,
25
+ RotatedSessionError,
26
+ ScrapeDoError,
27
+ ServerError,
28
+ TargetError,
29
+ )
30
+ from scrape_do.models import (
31
+ RequestParameters,
32
+ ScrapeDoResponse,
33
+ )
34
+
35
+ __all__ = [
36
+ "APIConnectionError",
37
+ "AuthenticationError",
38
+ "AuthenticationThrottleError",
39
+ "BadRequestError",
40
+ "RateLimitError",
41
+ "RequestParameters",
42
+ "RotatedSessionError",
43
+ "ScrapeDoClient",
44
+ "ScrapeDoError",
45
+ "ScrapeDoResponse",
46
+ "ServerError",
47
+ "SyncClientEventHooks",
48
+ "SyncSessionValidator",
49
+ "TargetError",
50
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scrape-do-python
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A Python SDK for the Scrape.do API
5
5
  Author-email: svdC1 <svdc1mail@gmail.com>
6
6
  License: MIT
@@ -8,6 +8,21 @@ Project-URL: Documentation, https://svdc1.github.io/scrape-do-python
8
8
  Project-URL: Repository, https://github.com/svdC1/scrape-do-python
9
9
  Project-URL: Issues, https://github.com/svdC1/scrape-do-python/issues
10
10
  Project-URL: Changelog, https://github.com/svdC1/scrape-do-python/blob/main/.github/CHANGELOG.md
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Internet :: WWW/HTTP
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Classifier: Typing :: Typed
11
26
  Requires-Python: >=3.9
12
27
  Description-Content-Type: text/markdown
13
28
  License-File: LICENSE
@@ -61,7 +76,7 @@ pip install scrape-do-python
61
76
  ## Quickstart
62
77
 
63
78
  ```python
64
- from scrape_do.client import ScrapeDoClient
79
+ from scrape_do import ScrapeDoClient
65
80
 
66
81
  # API Token pulled from SCRAPE_DO_API_KEY env variable
67
82
  # Can also be provided via 'api_token' argument
@@ -1,21 +1,18 @@
1
- scrape_do/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1
+ scrape_do/__init__.py,sha256=f_Kb50T3_maPmgWEsBUSOO3ELdLfJbVA1CZwzJJzRUI,1275
2
2
  scrape_do/abc.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  scrape_do/async_client.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  scrape_do/client.py,sha256=wX04ql66rsKBto8-BdE_Ze5s7scTkwpPtV_q9C1DdaA,32364
5
5
  scrape_do/constants.py,sha256=_JolnsB_ZhNTqhlk33YswI8JF5T8FLw53bjiOqYHTFM,3542
6
6
  scrape_do/exceptions.py,sha256=BHr-ZFB999qy65tkV3pgm4Ptvfa0NBUZ6htdavuvsVo,7858
7
+ scrape_do/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
8
  scrape_do/models/__init__.py,sha256=-oRZ_HQibQRC9NsTph8A9PA1I8bW7wFrrPDixg5s4Ck,1717
8
9
  scrape_do/models/browser_actions.py,sha256=EmsjxvwqrCOi-M71rIPVeSYD4q8YLnXcqXYeDAbFSzI,8567
9
10
  scrape_do/models/enums.py,sha256=9k0bV4UYRHYqjWU4Pak3qe7DbpNNy2ep0hD9rT2-IWM,1638
10
11
  scrape_do/models/parameters.py,sha256=3aSdQthC9v6dD_VSV96g1GdOpdtiJCSyn06jW8JQkQo,26206
11
12
  scrape_do/models/request.py,sha256=SXCuPX7PIF7oxD8ZM_nw1By8lGNXEORlsH4pN4rKCUM,8060
12
13
  scrape_do/models/response.py,sha256=fxNEpXVw9DTWxhP4sr55_cypYJKocZYEHVXMJqxrc_8,31478
13
- scrape_do/namespaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- scrape_do/namespaces/amazon.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- scrape_do/namespaces/google.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- scrape_do/namespaces/jobs.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- scrape_do_python-0.1.0.dist-info/licenses/LICENSE,sha256=s07DnwCkkgm9E2KmfpBfU1LMK1FEIfcdoxXkJGeV828,1060
18
- scrape_do_python-0.1.0.dist-info/METADATA,sha256=7QjxRVegD-VicEhOTWDQzKa3M3p8GnqkTvSiUE_IB9w,5743
19
- scrape_do_python-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
20
- scrape_do_python-0.1.0.dist-info/top_level.txt,sha256=AIMPI743-gzB041Hn8MQMHu5Sx1syNOX7ptYJ6XeV4s,10
21
- scrape_do_python-0.1.0.dist-info/RECORD,,
14
+ scrape_do_python-0.1.1.dist-info/licenses/LICENSE,sha256=s07DnwCkkgm9E2KmfpBfU1LMK1FEIfcdoxXkJGeV828,1060
15
+ scrape_do_python-0.1.1.dist-info/METADATA,sha256=yLQ0wK0T2kbjJT2dC15fwDebzdGDkkdpuWLn2Wc7F3U,6466
16
+ scrape_do_python-0.1.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
17
+ scrape_do_python-0.1.1.dist-info/top_level.txt,sha256=AIMPI743-gzB041Hn8MQMHu5Sx1syNOX7ptYJ6XeV4s,10
18
+ scrape_do_python-0.1.1.dist-info/RECORD,,
File without changes
File without changes
File without changes
File without changes