Async Captcha Solver
async-captcha-solver is a Python library designed for solving various types of CAPTCHA challenges using popular third-party CAPTCHA-solving services such as 2Captcha, AntiCaptcha, and CapMonster. It provides an easy-to-use abstraction layer for interacting with these services in a unified and efficient way.
Key Features
- Support for popular CAPTCHA-solving services (e.g., 2Captcha, AntiCaptcha, CapMonster).
- Unified interface for handling CAPTCHA tasks.
- Asynchronous API for scalable and high-performance applications.
- Extensible framework allowing custom CAPTCHA-solving providers.
- Built-in HTTP client abstraction for flexibility.
Installation
Ensure you have Python 3.12 or newer installed on your system. Then, install the package using pip:
uv add async-captcha-solver
or
pip install async-captcha-solver
Usage
Quick Start
import asyncio
import logging
from async_captcha_solver import CaptchaSolver
async def main():
logging.basicConfig(level=logging.DEBUG)
solver = CaptchaSolver(service='capmonster', api_key='API_KEY')
# optional
solver.client.retry_count = 20
solver.client.delay = 7
status, result = await solver.client.recaptcha_v2(website_url='https://app.getgrass.io/register/',
website_key='6LeeT-0pAAAAAFJ5JnCpNcbYCBcAerNHlkK4nm6y')
print("result", result)
if status:
token = result.get('solution').get('gRecaptchaResponse')
print("token", token)
if __name__ == '__main__':
asyncio.run(main())
Acknowledgments
Metadata
Release files for async-captcha-solver 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| async_captcha_solver-0.1.1.tar.gz | 5.5 kB | Without provenance | Details for async_captcha_solver-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| async_captcha_solver-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for async_captcha_solver-0.1.1-py3-none-any.whl |
Total release size: 12.4 kB
Release files / async_captcha_solver-0.1.1.tar.gz
| Download URL | async_captcha_solver-0.1.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7104405ed0f03890e8dce6a7c1a17ac0f6e74e870e128e2dd0bbc9ae0d51593
|
|
BLAKE2b-256 checksum How to use checksums |
b5fb06ee346a9fff8e2ccf4dc50be586c0d7ab0e7f89b1b929ae41ccfdcbd472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Release files / async_captcha_solver-0.1.1-py3-none-any.whl
| Download URL | async_captcha_solver-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd26e690e163fed6742d170bdc35851b7d5dad16587c224beb27b222a6f8e59a
|
|
BLAKE2b-256 checksum How to use checksums |
96411a3838e6b3b515bfc309d3cdefd01a8bd646fa19578de33d7d621738c1fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Security for async-captcha-solver 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.