python-rucaptcha 6.1__0-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.
- python_rucaptcha/__init__.py +0 -0
- python_rucaptcha/__version__.py +1 -0
- python_rucaptcha/amazon_waf.py +114 -0
- python_rucaptcha/audio_captcha.py +161 -0
- python_rucaptcha/bounding_box_captcha.py +310 -0
- python_rucaptcha/capy_puzzle.py +138 -0
- python_rucaptcha/control.py +174 -0
- python_rucaptcha/coordinates_captcha.py +295 -0
- python_rucaptcha/core/__init__.py +0 -0
- python_rucaptcha/core/base.py +244 -0
- python_rucaptcha/core/config.py +21 -0
- python_rucaptcha/core/enums.py +146 -0
- python_rucaptcha/core/result_handler.py +65 -0
- python_rucaptcha/core/serializer.py +74 -0
- python_rucaptcha/cutcaptcha.py +116 -0
- python_rucaptcha/cyber_siara_captcha.py +110 -0
- python_rucaptcha/datadome_captcha.py +121 -0
- python_rucaptcha/draw_around_captcha.py +359 -0
- python_rucaptcha/fun_captcha.py +103 -0
- python_rucaptcha/gee_test.py +216 -0
- python_rucaptcha/grid_captcha.py +271 -0
- python_rucaptcha/hcaptcha.py +111 -0
- python_rucaptcha/image_captcha.py +249 -0
- python_rucaptcha/key_captcha.py +111 -0
- python_rucaptcha/lemin_captcha.py +112 -0
- python_rucaptcha/mt_captcha.py +104 -0
- python_rucaptcha/re_captcha.py +172 -0
- python_rucaptcha/rotate_captcha.py +196 -0
- python_rucaptcha/text_captcha.py +119 -0
- python_rucaptcha/turnstile.py +111 -0
- python_rucaptcha-6.1.0.dist-info/METADATA +138 -0
- python_rucaptcha-6.1.0.dist-info/RECORD +34 -0
- python_rucaptcha-6.1.0.dist-info/WHEEL +5 -0
- python_rucaptcha-6.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: python-rucaptcha
|
|
3
|
+
Version: 6.1.0
|
|
4
|
+
Summary: Python 3.9+ RuCaptcha library with AIO module.
|
|
5
|
+
Home-page: https://andreidrang.github.io/python-rucaptcha/
|
|
6
|
+
Author: AndreiDrang, redV0ID
|
|
7
|
+
Author-email: python-captcha@pm.me
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Documentation, https://andreidrang.github.io/python-rucaptcha/
|
|
10
|
+
Project-URL: Source, https://github.com/AndreiDrang/python-rucaptcha
|
|
11
|
+
Project-URL: Changelog, https://github.com/AndreiDrang/python-rucaptcha/releases
|
|
12
|
+
Project-URL: Issue tracker, https://github.com/AndreiDrang/python-rucaptcha/issues
|
|
13
|
+
Keywords: captcha
|
|
14
|
+
rucaptcha
|
|
15
|
+
2captcha
|
|
16
|
+
deathbycaptcha
|
|
17
|
+
recaptcha
|
|
18
|
+
geetest
|
|
19
|
+
hcaptcha
|
|
20
|
+
capypuzzle
|
|
21
|
+
tiktok
|
|
22
|
+
rotatecaptcha
|
|
23
|
+
funcaptcha
|
|
24
|
+
keycaptcha
|
|
25
|
+
python3
|
|
26
|
+
recaptcha
|
|
27
|
+
captcha
|
|
28
|
+
security
|
|
29
|
+
tiktok
|
|
30
|
+
python-library
|
|
31
|
+
python-rucaptcha
|
|
32
|
+
rucaptcha-client
|
|
33
|
+
yandex
|
|
34
|
+
turnstile
|
|
35
|
+
amazon
|
|
36
|
+
amazon_waf
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
|
|
39
|
+
Classifier: Programming Language :: Python
|
|
40
|
+
Classifier: Programming Language :: Python :: 3
|
|
41
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
46
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
47
|
+
Classifier: Framework :: AsyncIO
|
|
48
|
+
Classifier: Operating System :: Unix
|
|
49
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
50
|
+
Classifier: Operating System :: MacOS
|
|
51
|
+
Requires-Python: >=3.9.0
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
Requires-Dist: requests >=2.28.0
|
|
54
|
+
Requires-Dist: aiohttp >=3.9.0
|
|
55
|
+
Requires-Dist: msgspec ==0.18.*
|
|
56
|
+
Requires-Dist: tenacity ==8.2.*
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
# python-rucaptcha
|
|
60
|
+
|
|
61
|
+

|
|
62
|
+
|
|
63
|
+
<a href="https://dashboard.capsolver.com/passport/register?inviteCode=kQTn-tG07Jb1">
|
|
64
|
+
<img src="https://cdn.discordapp.com/attachments/1105172394655625306/1105180101802471575/20221207-160749.gif" alt="Capsolver's Banner">
|
|
65
|
+
</a>
|
|
66
|
+
<br>
|
|
67
|
+
At the lowest price on the market, you may receive a variety of solutions, including reCAPTCHA V2, reCAPTCHA V3, hCaptcha, hCaptcha Click, FunCaptcha, picture-to-text, and more. With this service, 0.1s is the slowest speed ever measured.
|
|
68
|
+
<hr>
|
|
69
|
+
|
|
70
|
+
[](https://badge.fury.io/py/python-rucaptcha)
|
|
71
|
+
[](https://badge.fury.io/py/python-rucaptcha)
|
|
72
|
+
[](https://pepy.tech/project/python-rucaptcha)
|
|
73
|
+
|
|
74
|
+
[](https://codeclimate.com/github/AndreiDrang/python-rucaptcha/maintainability)
|
|
75
|
+
[](https://www.codacy.com/gh/AndreiDrang/python-rucaptcha/dashboard?utm_source=github.com&utm_medium=referral&utm_content=AndreiDrang/python-rucaptcha&utm_campaign=Badge_Grade)
|
|
76
|
+
[](https://codecov.io/gh/AndreiDrang/python-rucaptcha)
|
|
77
|
+
|
|
78
|
+
[](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/sphinx.yml)
|
|
79
|
+
[](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/build.yml)
|
|
80
|
+
[](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/install.yml)
|
|
81
|
+
[](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/test.yml)
|
|
82
|
+
[](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/lint.yml)
|
|
83
|
+
|
|
84
|
+
Python3 library for [RuCaptcha](https://rucaptcha.com/) and [2Captcha](https://2captcha.com/) service API.
|
|
85
|
+
|
|
86
|
+
Tested on UNIX based OS.
|
|
87
|
+
|
|
88
|
+
The library is intended for software developers and is used to work with the [RuCaptcha](https://rucaptcha.com/) and [2Captcha](https://2captcha.com/) service API.
|
|
89
|
+
|
|
90
|
+
Support of the service [Death By Captcha](https://deathbycaptcha.com?refid=1237267242) is integrated into this library, more information in the library documentation or in the [service docs](https://deathbycaptcha.com/api/2captcha?refid=1237267242).
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
Application in [RuCaptcha software](https://rucaptcha.com/software/python-rucaptcha) and [2Captcha software](https://2captcha.com/software/python-rucaptcha).
|
|
94
|
+
|
|
95
|
+
If you have any questions, please send a message to the [Telegram](https://t.me/pythoncaptcha) chat room.
|
|
96
|
+
|
|
97
|
+
Or email python-captcha@pm.me
|
|
98
|
+
|
|
99
|
+
***
|
|
100
|
+
|
|
101
|
+
You can check our other projects here - [RedPandaDev group](https://red-panda-dev.xyz/blog/). For example - [Torrents Tracker bot](https://t.me/torrents_tracker_bot) for Telegram.
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## How to install?
|
|
107
|
+
|
|
108
|
+
### pip
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
pip install python-rucaptcha
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
## How to use?
|
|
116
|
+
|
|
117
|
+
Is described in the [documentation-website](https://andreidrang.github.io/python-rucaptcha/).
|
|
118
|
+
|
|
119
|
+
## How to test?
|
|
120
|
+
|
|
121
|
+
1. You need set ``RUCAPTCHA_KEY`` in your environment(get this value from you account).
|
|
122
|
+
2. Run command ``make tests``, from root directory.
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Changelog
|
|
126
|
+
|
|
127
|
+
For full changelog info check - [Releases page](https://github.com/AndreiDrang/python-rucaptcha/releases).
|
|
128
|
+
|
|
129
|
+
- v.6.0 - Library refactoring. Stop using `pydantic`, start using `msgspec`. Move to API v2. Drop Python 3.8 support. More details at [Releases page](https://github.com/AndreiDrang/python-rucaptcha/releases).
|
|
130
|
+
- v.5.3 - Added support for [Death By Captcha](https://www.deathbycaptcha.com?refid=1237267242) and other services by changing `service_type` and `url_request` \ `url_response` parameters.
|
|
131
|
+
- v.5.2 - Added Audio captcha method.
|
|
132
|
+
- v.5.1 - Check [releases page](https://github.com/AndreiDrang/python-rucaptcha/releases).
|
|
133
|
+
- v.5.0 - Added AmazonWAF captcha method.
|
|
134
|
+
- v.4.2 - Added [Yandex Smart Captcha](https://rucaptcha.com/api-rucaptcha#yandex).
|
|
135
|
+
|
|
136
|
+
### Get API Key to work with the library
|
|
137
|
+
1. On the page - https://rucaptcha.com/enterpage
|
|
138
|
+
2. Find it: 
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
python_rucaptcha/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
python_rucaptcha/__version__.py,sha256=PD5agZ0_DXqsFLMBR0hacZV3LbzGbH8qn-j7MIAm3Xs,22
|
|
3
|
+
python_rucaptcha/amazon_waf.py,sha256=psEg-sym8xQlMPPto1ND_HE0vGV_SRRrDnsKuEbbxNA,3625
|
|
4
|
+
python_rucaptcha/audio_captcha.py,sha256=Bp6-gF3cTnYL8aeY8k4D4Ii7zPqy1Qo2OFRooSEd0MQ,5600
|
|
5
|
+
python_rucaptcha/bounding_box_captcha.py,sha256=JvJEU1Y0A1SVkJV9jEFgBQ7Nis-vFkTmfUBoHIeTinY,10648
|
|
6
|
+
python_rucaptcha/capy_puzzle.py,sha256=ITr1HNALlaKtBkrBht2QtEtP-u6K4-JXpDKKwih7RhA,4973
|
|
7
|
+
python_rucaptcha/control.py,sha256=TnOMQdT7CBoCkbWJtXXlX7ExsZJ49cyVbeZQPFyV_Ac,4818
|
|
8
|
+
python_rucaptcha/coordinates_captcha.py,sha256=lmotaD_dOzo2T9MdcaOgQdB5opL-Hs-ZVUW5nTy-KJ0,9911
|
|
9
|
+
python_rucaptcha/cutcaptcha.py,sha256=8FVoIoKyKXL-znpkJUscsR9Q4n-2nWGfBBpWUXTiQFQ,4028
|
|
10
|
+
python_rucaptcha/cyber_siara_captcha.py,sha256=P8oLkn3UZDuy3XjEyd59cK2QOHYesV6KQ5pMbw2deiA,3909
|
|
11
|
+
python_rucaptcha/datadome_captcha.py,sha256=sf6VdBWB3S7xTCyy83odJTHZHQmi6a2TNSFSFnSh__Y,4140
|
|
12
|
+
python_rucaptcha/draw_around_captcha.py,sha256=uUaVk--31p0xh6sqTxtRdtxl0F4ZQ9KeESpmqY1WPR0,11837
|
|
13
|
+
python_rucaptcha/fun_captcha.py,sha256=hz-ulRnuzqyk8vAXaT52aZ_EyH_mf_VwauGVfjR8rV8,3496
|
|
14
|
+
python_rucaptcha/gee_test.py,sha256=lxhqWm2uWWS_uQK5ufArjr-508pfecDYAEh4Ct-FthI,8583
|
|
15
|
+
python_rucaptcha/grid_captcha.py,sha256=ssfl1BnBzxR1CHGdnjEG4wunTvEk9NvGIoiXQWHrt20,9001
|
|
16
|
+
python_rucaptcha/hcaptcha.py,sha256=7i0S7A4LvBePUgVsCGpay8733Ve2rzjiZcR-CMTwa8s,3732
|
|
17
|
+
python_rucaptcha/image_captcha.py,sha256=jWTO-kLSKXG12koO2X9dsFXCr3OjvXgj2aNJyhSomf4,8391
|
|
18
|
+
python_rucaptcha/key_captcha.py,sha256=hufzqYEb3ZR23AsLWIL82HFTJnA8JsOJtXUA92b9tws,4017
|
|
19
|
+
python_rucaptcha/lemin_captcha.py,sha256=vM9_Dk4TYdL3Y1w5JVyQVmeO32Mmhwz-_DBqTigjcYY,4064
|
|
20
|
+
python_rucaptcha/mt_captcha.py,sha256=usQK_LR9piDQM7lxkZbSKi6KIXedIBYyytKJBJe8jNg,3415
|
|
21
|
+
python_rucaptcha/re_captcha.py,sha256=XyJncVbmaV5jZR-qxZ1JdFum10W5yk5zeVrDbZ5dSKo,6083
|
|
22
|
+
python_rucaptcha/rotate_captcha.py,sha256=V-mJZ672Nw8yXjDcEa9TBc_guuMn9C-7ole-hYODenk,6225
|
|
23
|
+
python_rucaptcha/text_captcha.py,sha256=lZDPwTgpMLvqvfjPbT-uNuNu6JRdWTEE9qfjnRQ5y-A,3708
|
|
24
|
+
python_rucaptcha/turnstile.py,sha256=VpmYGYJoRVX6NHipO6-g2U5EpwxZToAZRmULj4ReDD0,3686
|
|
25
|
+
python_rucaptcha/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
|
+
python_rucaptcha/core/base.py,sha256=e_5e9q5xaEcz7Wi9l-chdxz5vPpOTm6PpblaBtMkMfw,9315
|
|
27
|
+
python_rucaptcha/core/config.py,sha256=UHP9iAaW3VpVC_7eHz_ihkYWIMAA9t_UXERfs5LwKiM,553
|
|
28
|
+
python_rucaptcha/core/enums.py,sha256=R2IacwO_DOCKmV3gsZ6d6_1ZVRW4A2Yr5hWDHzAmXRs,3397
|
|
29
|
+
python_rucaptcha/core/result_handler.py,sha256=uaeRMGP8Sagi7_Vh845lpvNXuNy4nVwgRKOsCKf2vXI,2680
|
|
30
|
+
python_rucaptcha/core/serializer.py,sha256=asJRFD14uwOXG8gaNqsfaukiPBbsxt4r0rDA7lCuNHk,1739
|
|
31
|
+
python_rucaptcha-6.1.0.dist-info/METADATA,sha256=baYpmZczJGYBY-kCIiJPRNkPY54C8liHhNLYaumeON8,6694
|
|
32
|
+
python_rucaptcha-6.1.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
33
|
+
python_rucaptcha-6.1.0.dist-info/top_level.txt,sha256=Eu_atEB79Y7jCsfXPcXF5N8OLt6kKVbvhuRsI1BmSWM,17
|
|
34
|
+
python_rucaptcha-6.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
python_rucaptcha
|