scrape-do-python 0.1.0__tar.gz → 0.1.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.
Files changed (27) hide show
  1. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/PKG-INFO +17 -2
  2. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/README.md +1 -1
  3. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/pyproject.toml +21 -1
  4. scrape_do_python-0.1.1/src/scrape_do/__init__.py +50 -0
  5. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do_python.egg-info/PKG-INFO +17 -2
  6. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do_python.egg-info/SOURCES.txt +1 -4
  7. scrape_do_python-0.1.0/src/scrape_do/namespaces/__init__.py +0 -0
  8. scrape_do_python-0.1.0/src/scrape_do/namespaces/amazon.py +0 -0
  9. scrape_do_python-0.1.0/src/scrape_do/namespaces/google.py +0 -0
  10. scrape_do_python-0.1.0/src/scrape_do/namespaces/jobs.py +0 -0
  11. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/LICENSE +0 -0
  12. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/setup.cfg +0 -0
  13. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/abc.py +0 -0
  14. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/async_client.py +0 -0
  15. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/client.py +0 -0
  16. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/constants.py +0 -0
  17. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/exceptions.py +0 -0
  18. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/models/__init__.py +0 -0
  19. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/models/browser_actions.py +0 -0
  20. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/models/enums.py +0 -0
  21. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/models/parameters.py +0 -0
  22. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/models/request.py +0 -0
  23. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do/models/response.py +0 -0
  24. /scrape_do_python-0.1.0/src/scrape_do/__init__.py → /scrape_do_python-0.1.1/src/scrape_do/py.typed +0 -0
  25. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do_python.egg-info/dependency_links.txt +0 -0
  26. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do_python.egg-info/requires.txt +0 -0
  27. {scrape_do_python-0.1.0 → scrape_do_python-0.1.1}/src/scrape_do_python.egg-info/top_level.txt +0 -0
@@ -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
@@ -29,7 +29,7 @@ pip install scrape-do-python
29
29
  ## Quickstart
30
30
 
31
31
  ```python
32
- from scrape_do.client import ScrapeDoClient
32
+ from scrape_do import ScrapeDoClient
33
33
 
34
34
  # API Token pulled from SCRAPE_DO_API_KEY env variable
35
35
  # Can also be provided via 'api_token' argument
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "scrape-do-python"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "A Python SDK for the Scrape.do API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -12,6 +12,23 @@ license = { text = "MIT" }
12
12
  authors = [
13
13
  { name = "svdC1", email = "svdc1mail@gmail.com" }
14
14
  ]
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3 :: Only",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Topic :: Internet :: WWW/HTTP",
29
+ "Topic :: Software Development :: Libraries :: Python Modules",
30
+ "Typing :: Typed",
31
+ ]
15
32
  dependencies = [
16
33
  "httpx>=0.25.0",
17
34
  "pydantic>=2.0.0"
@@ -46,6 +63,9 @@ docs = [
46
63
  [tool.setuptools.packages.find]
47
64
  where = ["src"]
48
65
 
66
+ [tool.setuptools.package-data]
67
+ scrape_do = ["py.typed"]
68
+
49
69
  [tool.pytest.ini_options]
50
70
  markers = [
51
71
  "unit: marks tests as unit tests",
@@ -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
@@ -7,16 +7,13 @@ src/scrape_do/async_client.py
7
7
  src/scrape_do/client.py
8
8
  src/scrape_do/constants.py
9
9
  src/scrape_do/exceptions.py
10
+ src/scrape_do/py.typed
10
11
  src/scrape_do/models/__init__.py
11
12
  src/scrape_do/models/browser_actions.py
12
13
  src/scrape_do/models/enums.py
13
14
  src/scrape_do/models/parameters.py
14
15
  src/scrape_do/models/request.py
15
16
  src/scrape_do/models/response.py
16
- src/scrape_do/namespaces/__init__.py
17
- src/scrape_do/namespaces/amazon.py
18
- src/scrape_do/namespaces/google.py
19
- src/scrape_do/namespaces/jobs.py
20
17
  src/scrape_do_python.egg-info/PKG-INFO
21
18
  src/scrape_do_python.egg-info/SOURCES.txt
22
19
  src/scrape_do_python.egg-info/dependency_links.txt
File without changes
File without changes
File without changes