python3-capsolver 1.2.0__py3-none-any.whl → 1.2.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.
@@ -1 +1 @@
1
- __version__ = "1.2.0"
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,5 +1,5 @@
1
1
  python3_capsolver/__init__.py,sha256=141uoiYvgRblIWZAy7AhQJz6iVqzY4b5cLxExIaKUlg,62
2
- python3_capsolver/__version__.py,sha256=MpAT5hgNoHnTtG1XRD_GV_A7QrHVU6vJjGSw_8qMGA4,22
2
+ python3_capsolver/__version__.py,sha256=Mlm4Gvmb_6yQxwUbv2Ksc-BJFXLPg9H1Vt2iV7wXrA4,22
3
3
  python3_capsolver/aws_waf.py,sha256=wwNjW2bkS-EdxEkTDxW9zwUGCnW_bbEhtruSgw_R94I,5677
4
4
  python3_capsolver/cloudflare.py,sha256=SCuC4femAkNWY9taGELuGiGI8mDI5N2ziWAewNhAQrI,5367
5
5
  python3_capsolver/control.py,sha256=TEhH2xGpJVX5QSiH3senhqoASnuJlDiFZfEZ1CLD1oA,16982
@@ -21,8 +21,8 @@ python3_capsolver/core/enum.py,sha256=M4gfCzzkIMQ8JZd3qwFsA1iXW8cbfYFxJGTxiVvTUs
21
21
  python3_capsolver/core/serializer.py,sha256=048uf015XtPirdtdijDxpO8sg3xoDIFXucUwmHKLUMo,1363
22
22
  python3_capsolver/core/sio_captcha_instrument.py,sha256=LZlcftx_L8IjB0xhH2dFdbd7No_l8ZDSS9aX02feWn8,4681
23
23
  python3_capsolver/core/utils.py,sha256=5PMxryy22MIUmUXPIHqz38vg2C2bqa7uXHUNYRF8DlY,633
24
- python3_capsolver-1.2.0.dist-info/licenses/LICENSE,sha256=N_utAsqhTp1pXXp-PTE-CFMg5BfIIqTbF-phwwzOHeQ,1063
25
- python3_capsolver-1.2.0.dist-info/METADATA,sha256=7OfV6UwZU3MV3FQBKryNWmu5TAUqpPvg3Pli9_1piZM,7573
26
- python3_capsolver-1.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- python3_capsolver-1.2.0.dist-info/top_level.txt,sha256=yws7CqjoBfrn2ebCkAQmEaVlZ-zhbtflqpCDwAEX4kI,18
28
- python3_capsolver-1.2.0.dist-info/RECORD,,
24
+ python3_capsolver-1.2.1.dist-info/licenses/LICENSE,sha256=N_utAsqhTp1pXXp-PTE-CFMg5BfIIqTbF-phwwzOHeQ,1063
25
+ python3_capsolver-1.2.1.dist-info/METADATA,sha256=ljC80tlxqtijvJwzIu9x-fD3zQWBmHZhjJDaCz_IKqo,8400
26
+ python3_capsolver-1.2.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
27
+ python3_capsolver-1.2.1.dist-info/top_level.txt,sha256=yws7CqjoBfrn2ebCkAQmEaVlZ-zhbtflqpCDwAEX4kI,18
28
+ python3_capsolver-1.2.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (84.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5