python3-capsolver 1.2.0__tar.gz → 1.2.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 (48) hide show
  1. {python3_capsolver-1.2.0/src/python3_capsolver.egg-info → python3_capsolver-1.2.1}/PKG-INFO +35 -7
  2. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/README.md +33 -5
  3. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/pyproject.toml +1 -1
  4. python3_capsolver-1.2.1/src/python3_capsolver/__version__.py +1 -0
  5. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1/src/python3_capsolver.egg-info}/PKG-INFO +35 -7
  6. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver.egg-info/requires.txt +1 -1
  7. python3_capsolver-1.2.0/src/python3_capsolver/__version__.py +0 -1
  8. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/LICENSE +0 -0
  9. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/MANIFEST.in +0 -0
  10. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/setup.cfg +0 -0
  11. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/__init__.py +0 -0
  12. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/aws_waf.py +0 -0
  13. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/cloudflare.py +0 -0
  14. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/control.py +0 -0
  15. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/__init__.py +0 -0
  16. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/aio_captcha_instrument.py +0 -0
  17. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/base.py +0 -0
  18. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/captcha_instrument.py +0 -0
  19. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/const.py +0 -0
  20. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/context_instr.py +0 -0
  21. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/enum.py +0 -0
  22. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/serializer.py +0 -0
  23. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/sio_captcha_instrument.py +0 -0
  24. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/core/utils.py +0 -0
  25. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/datadome_slider.py +0 -0
  26. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/friendly_captcha.py +0 -0
  27. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/gee_test.py +0 -0
  28. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/image_to_text.py +0 -0
  29. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/mt_captcha.py +0 -0
  30. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/recaptcha.py +0 -0
  31. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/vision_engine.py +0 -0
  32. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver/yandex.py +0 -0
  33. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver.egg-info/SOURCES.txt +0 -0
  34. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver.egg-info/dependency_links.txt +0 -0
  35. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/src/python3_capsolver.egg-info/top_level.txt +0 -0
  36. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_aws_waf.py +0 -0
  37. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_cloudflare.py +0 -0
  38. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_control.py +0 -0
  39. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_core.py +0 -0
  40. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_datadome.py +0 -0
  41. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_friendly.py +0 -0
  42. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_gee_test.py +0 -0
  43. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_image_to_text.py +0 -0
  44. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_instrument.py +0 -0
  45. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_mt_captcha.py +0 -0
  46. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_recaptcha.py +0 -0
  47. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_vision_engine.py +0 -0
  48. {python3_capsolver-1.2.0 → python3_capsolver-1.2.1}/tests/test_yandex.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-capsolver
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Python 3.8+ Capsolver library with AIO module.
5
5
  Author-email: AndreiDrang <python-captcha@pm.me>
6
6
  License: MIT License
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
30
30
  License-File: LICENSE
31
31
  Requires-Dist: requests>=2.21.0
32
32
  Requires-Dist: aiohttp>=3.9.2
33
- Requires-Dist: msgspec<=0.21,>=0.18
33
+ Requires-Dist: msgspec>=0.18
34
34
  Requires-Dist: tenacity<10,>=8
35
35
  Dynamic: license-file
36
36
 
@@ -62,6 +62,7 @@ Tested on UNIX based OS.
62
62
  The library is intended for software developers and is used to work with the [Capsolver](https://dashboard.capsolver.com/passport/register?inviteCode=kQTn-tG07Jb1) service API.
63
63
 
64
64
  ## Features
65
+ - **Modern Tooling**: Uses `uv` for fast, reliable dependency management and environment isolation.
65
66
  - **Sync & Async Support**: Full support for both synchronous (`requests`) and asynchronous (`aiohttp`) operations.
66
67
  - **Type Safety**: Enums for captcha types and response statuses.
67
68
  - **Resilience**: Built-in retries using `tenacity`.
@@ -70,9 +71,21 @@ The library is intended for software developers and is used to work with the [Ca
70
71
 
71
72
  ## How to install?
72
73
 
73
- We recommend using the latest version of Python. `python3-capsolver` supports Python 3.7+.
74
+ We recommend using the latest version of Python. `python3-capsolver` supports Python 3.8+.
74
75
 
75
- ### pip
76
+ ### Development (using uv)
77
+
78
+ This project uses [uv](https://github.com/astral-sh/uv) for fast, reliable dependency management.
79
+
80
+ ```bash
81
+ # Install uv (if not already installed)
82
+ curl -LsSf https://astral.sh/uv/install.sh | sh
83
+
84
+ # Install project dependencies
85
+ uv sync --all-groups
86
+ ```
87
+
88
+ ### Production (pip)
76
89
 
77
90
  ```bash
78
91
  pip install python3-capsolver
@@ -151,13 +164,28 @@ if __name__ == "__main__":
151
164
 
152
165
  ## How to test?
153
166
 
154
- 1. You need set ``API_KEY`` in your environment(get this value from you account).
155
- 2. Run command ``make tests``, from root directory.
167
+ The project uses `uv` for testing and development tasks.
168
+
169
+ ```bash
170
+ # 1. Set API_KEY in your environment (get this value from your account)
171
+ export API_KEY="your_api_key_here"
172
+
173
+ # 2. Run tests (uses uv internally)
174
+ make tests
175
+
176
+ # Other useful make targets:
177
+ # make install # Install dependencies with uv sync
178
+ # make lint # Run linting checks
179
+ # make build # Build the package
180
+ # make doc # Generate documentation
181
+ ```
182
+
183
+ All `make` commands automatically use `uv` to run commands in the isolated environment.
156
184
 
157
185
 
158
186
  ### Changelog
159
187
 
160
- Check [releases page](https://github.com/AndreiDrang/python3-capsolver/releases).
188
+ See [CHANGELOG.md](https://github.com/AndreiDrang/python3-capsolver/blob/main/CHANGELOG.md) for version history and detailed changes.
161
189
 
162
190
  ### How to get API Key to work with the library
163
191
  1. On the page - https://dashboard.capsolver.com/overview/user-center
@@ -26,6 +26,7 @@ Tested on UNIX based OS.
26
26
  The library is intended for software developers and is used to work with the [Capsolver](https://dashboard.capsolver.com/passport/register?inviteCode=kQTn-tG07Jb1) service API.
27
27
 
28
28
  ## Features
29
+ - **Modern Tooling**: Uses `uv` for fast, reliable dependency management and environment isolation.
29
30
  - **Sync & Async Support**: Full support for both synchronous (`requests`) and asynchronous (`aiohttp`) operations.
30
31
  - **Type Safety**: Enums for captcha types and response statuses.
31
32
  - **Resilience**: Built-in retries using `tenacity`.
@@ -34,9 +35,21 @@ The library is intended for software developers and is used to work with the [Ca
34
35
 
35
36
  ## How to install?
36
37
 
37
- We recommend using the latest version of Python. `python3-capsolver` supports Python 3.7+.
38
+ We recommend using the latest version of Python. `python3-capsolver` supports Python 3.8+.
38
39
 
39
- ### pip
40
+ ### Development (using uv)
41
+
42
+ This project uses [uv](https://github.com/astral-sh/uv) for fast, reliable dependency management.
43
+
44
+ ```bash
45
+ # Install uv (if not already installed)
46
+ curl -LsSf https://astral.sh/uv/install.sh | sh
47
+
48
+ # Install project dependencies
49
+ uv sync --all-groups
50
+ ```
51
+
52
+ ### Production (pip)
40
53
 
41
54
  ```bash
42
55
  pip install python3-capsolver
@@ -115,13 +128,28 @@ if __name__ == "__main__":
115
128
 
116
129
  ## How to test?
117
130
 
118
- 1. You need set ``API_KEY`` in your environment(get this value from you account).
119
- 2. Run command ``make tests``, from root directory.
131
+ The project uses `uv` for testing and development tasks.
132
+
133
+ ```bash
134
+ # 1. Set API_KEY in your environment (get this value from your account)
135
+ export API_KEY="your_api_key_here"
136
+
137
+ # 2. Run tests (uses uv internally)
138
+ make tests
139
+
140
+ # Other useful make targets:
141
+ # make install # Install dependencies with uv sync
142
+ # make lint # Run linting checks
143
+ # make build # Build the package
144
+ # make doc # Generate documentation
145
+ ```
146
+
147
+ All `make` commands automatically use `uv` to run commands in the isolated environment.
120
148
 
121
149
 
122
150
  ### Changelog
123
151
 
124
- Check [releases page](https://github.com/AndreiDrang/python3-capsolver/releases).
152
+ See [CHANGELOG.md](https://github.com/AndreiDrang/python3-capsolver/blob/main/CHANGELOG.md) for version history and detailed changes.
125
153
 
126
154
  ### How to get API Key to work with the library
127
155
  1. On the page - https://dashboard.capsolver.com/overview/user-center
@@ -86,7 +86,7 @@ classifiers = [
86
86
  dependencies = [
87
87
  "requests>=2.21.0",
88
88
  "aiohttp>=3.9.2",
89
- "msgspec>=0.18,<=0.21",
89
+ "msgspec>=0.18",
90
90
  "tenacity>=8,<10"
91
91
  ]
92
92
 
@@ -0,0 +1 @@
1
+ __version__ = "1.2.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-capsolver
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Python 3.8+ Capsolver library with AIO module.
5
5
  Author-email: AndreiDrang <python-captcha@pm.me>
6
6
  License: MIT License
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
30
30
  License-File: LICENSE
31
31
  Requires-Dist: requests>=2.21.0
32
32
  Requires-Dist: aiohttp>=3.9.2
33
- Requires-Dist: msgspec<=0.21,>=0.18
33
+ Requires-Dist: msgspec>=0.18
34
34
  Requires-Dist: tenacity<10,>=8
35
35
  Dynamic: license-file
36
36
 
@@ -62,6 +62,7 @@ Tested on UNIX based OS.
62
62
  The library is intended for software developers and is used to work with the [Capsolver](https://dashboard.capsolver.com/passport/register?inviteCode=kQTn-tG07Jb1) service API.
63
63
 
64
64
  ## Features
65
+ - **Modern Tooling**: Uses `uv` for fast, reliable dependency management and environment isolation.
65
66
  - **Sync & Async Support**: Full support for both synchronous (`requests`) and asynchronous (`aiohttp`) operations.
66
67
  - **Type Safety**: Enums for captcha types and response statuses.
67
68
  - **Resilience**: Built-in retries using `tenacity`.
@@ -70,9 +71,21 @@ The library is intended for software developers and is used to work with the [Ca
70
71
 
71
72
  ## How to install?
72
73
 
73
- We recommend using the latest version of Python. `python3-capsolver` supports Python 3.7+.
74
+ We recommend using the latest version of Python. `python3-capsolver` supports Python 3.8+.
74
75
 
75
- ### pip
76
+ ### Development (using uv)
77
+
78
+ This project uses [uv](https://github.com/astral-sh/uv) for fast, reliable dependency management.
79
+
80
+ ```bash
81
+ # Install uv (if not already installed)
82
+ curl -LsSf https://astral.sh/uv/install.sh | sh
83
+
84
+ # Install project dependencies
85
+ uv sync --all-groups
86
+ ```
87
+
88
+ ### Production (pip)
76
89
 
77
90
  ```bash
78
91
  pip install python3-capsolver
@@ -151,13 +164,28 @@ if __name__ == "__main__":
151
164
 
152
165
  ## How to test?
153
166
 
154
- 1. You need set ``API_KEY`` in your environment(get this value from you account).
155
- 2. Run command ``make tests``, from root directory.
167
+ The project uses `uv` for testing and development tasks.
168
+
169
+ ```bash
170
+ # 1. Set API_KEY in your environment (get this value from your account)
171
+ export API_KEY="your_api_key_here"
172
+
173
+ # 2. Run tests (uses uv internally)
174
+ make tests
175
+
176
+ # Other useful make targets:
177
+ # make install # Install dependencies with uv sync
178
+ # make lint # Run linting checks
179
+ # make build # Build the package
180
+ # make doc # Generate documentation
181
+ ```
182
+
183
+ All `make` commands automatically use `uv` to run commands in the isolated environment.
156
184
 
157
185
 
158
186
  ### Changelog
159
187
 
160
- Check [releases page](https://github.com/AndreiDrang/python3-capsolver/releases).
188
+ See [CHANGELOG.md](https://github.com/AndreiDrang/python3-capsolver/blob/main/CHANGELOG.md) for version history and detailed changes.
161
189
 
162
190
  ### How to get API Key to work with the library
163
191
  1. On the page - https://dashboard.capsolver.com/overview/user-center
@@ -1,4 +1,4 @@
1
1
  requests>=2.21.0
2
2
  aiohttp>=3.9.2
3
- msgspec<=0.21,>=0.18
3
+ msgspec>=0.18
4
4
  tenacity<10,>=8
@@ -1 +0,0 @@
1
- __version__ = "1.2.0"