Captchaly's CAPTCHAs solving service API for Python. Unofficial.
Project description
Captchaly Python Module
Captchaly is a fast, reliable, and affordable CAPTCHA solving with a powerful API. Ensure seamless automation and efficiency while we handle the challenges.
This SDK is made by myself, expect bugs. I don't maintain this often.
Installation
You can install the Captchaly Python Module with Pip:
pip install captchaly
Usage
First, obtain the API Key from the dashboard in the Captchaly Official Website dashboard. Then, create a Captchaly instance:
from captchaly import CaptchalyAPI
api = CaptchalyAPI(client_api="YOUR_API_KEY")
# You can also disable the logs:
# api = CaptchalyAPI(client_api="YOUR_API_KEY", open_log=False)
Solve captcha
reCAPTCHA v2
token = api.recaptchav2(website_url="...", website_key="...")
reCAPTCHA v3
token = api.recaptchav3(website_url="...", website_key="...", page_action="...", fast="OPTIONAL")
Turnstile
token = api.turnstile(website_url="...", website_key="...", page_action="...", website_cdata="OPTIONAL")
hCaptcha
token = api.hcaptcha(website_url="...", website_key="...", proxy_type="OPTIONAL", proxy_address="OPTIONAL", proxy_port="OPTIONAL", proxy_login="OPTIONAL", proxy_password="OPTIONAL")
hCaptcha Enterprise
token = api.hcaptcha_enterprise(website_url="...", website_key="...", proxy_type="OPTIONAL", proxy_address="OPTIONAL", proxy_port="OPTIONAL", proxy_login="OPTIONAL", proxy_password="OPTIONAL")
GeeTest v4
token = api.geetestv4(website_url="...", website_captcha_id="...")
Error Handling
When any error happens, it will return the description of the error as an string.
Contributing
If you find any bugs or have suggestions for improvement, please feel free to submit an issue or send a pull request. I welcome all contributions!
License
This project is licensed under the MIT License. For more information, please see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file captchaly-1.0.0.tar.gz.
File metadata
- Download URL: captchaly-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06725a5ebbe688b7912f45593a8abce9c6fa47bfe3b20541058ddc96c4fd442d
|
|
| MD5 |
b2ac061f78211e8ccd13a59b8083ea4a
|
|
| BLAKE2b-256 |
c1e45ccede1da3fc07f2381fd0f4d6aaab38bafb9f07ba70e1bd169ec4232645
|
Provenance
The following attestation bundles were made for captchaly-1.0.0.tar.gz:
Publisher:
python-publish.yml on heav33n/captchaly-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
captchaly-1.0.0.tar.gz -
Subject digest:
06725a5ebbe688b7912f45593a8abce9c6fa47bfe3b20541058ddc96c4fd442d - Sigstore transparency entry: 1704842496
- Sigstore integration time:
-
Permalink:
heav33n/captchaly-python@77b598cfdec3b9a08e240b44d136c611ce608f01 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/heav33n
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@77b598cfdec3b9a08e240b44d136c611ce608f01 -
Trigger Event:
push
-
Statement type:
File details
Details for the file captchaly-1.0.0-py3-none-any.whl.
File metadata
- Download URL: captchaly-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
479128196e3cdadc5280424d50e62a8f1980049403ecc26588eaece551848426
|
|
| MD5 |
f62f2478436ce229a1116d592d83ba77
|
|
| BLAKE2b-256 |
dcdea49aa773849764838d62c16f7fe1242860e9b32aef230eaf03bce1e4f13a
|
Provenance
The following attestation bundles were made for captchaly-1.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on heav33n/captchaly-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
captchaly-1.0.0-py3-none-any.whl -
Subject digest:
479128196e3cdadc5280424d50e62a8f1980049403ecc26588eaece551848426 - Sigstore transparency entry: 1704842518
- Sigstore integration time:
-
Permalink:
heav33n/captchaly-python@77b598cfdec3b9a08e240b44d136c611ce608f01 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/heav33n
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@77b598cfdec3b9a08e240b44d136c611ce608f01 -
Trigger Event:
push
-
Statement type: