Skip to main content

- AI captcha solver adapter

Requirements

Python3.3 - python3.10

Python 3.10 is not supported yet because onnxruntime is not supporting python3.10

UPDATE: Python3.10 is supported

Installation

pip install captcha-solve-adapter   
from captcha_solve_adapter import CaptchaSolver

solver = CaptchaSolver(
    logging=False, # if need to print the log
    img_width=300, # img_width
    img_height=40, # img height
    max_length=10, # max captcha length
    characters=['a','b','c','d'], # captcha characters used in training model
    model_fname='Path/to/the/model.onnx'    
)  # this login will create captcha
def solve_captcha(url: str):
    result, accur = solver.solve(url=url)
    return accur
def solve_from_bytes(b: bytes):
    result, accur = solver.solve(bytes_data=b)
    return accur
def solve_frmo_file(file: str):
    with open(file, 'rb') as f:
        b = f.read()
    return solve_from_bytes(b)

Metadata

Release files for captcha-solve-adapter 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for captcha-solve-adapter 1.0
File Size Uploaded Provenance Actions
captcha_solve_adapter-1.0.tar.gz 5.0 kB Without provenance Details for captcha_solve_adapter-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for captcha-solve-adapter 1.0
File Interpreter ABI Platform Actions
captcha_solve_adapter-1.0-py3-none-any.whl Python 3 none any Details for captcha_solve_adapter-1.0-py3-none-any.whl

Total release size: 10.3 kB

Release files / captcha_solve_adapter-1.0.tar.gz

Download URL captcha_solve_adapter-1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2e6f10b23b60d41bf76b49a1269f5dcf0791b2665bc2c74be226d2a690fd7a54
BLAKE2b-256 checksum
How to use checksums
8c516ad2009a419fabfefc7e9e5517c953e98c0f57b0347d55da21ff12030464
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / captcha_solve_adapter-1.0-py3-none-any.whl

Download URL captcha_solve_adapter-1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51370ce306a2a85bcfbbbc7ec6b6d2d08c425c94bbc6128aaaf3dfb5794132e1
BLAKE2b-256 checksum
How to use checksums
c87632586b76ae50f20c05dcb6fafe5ea81f75c9e50ba25a66fc4f2af507aaf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for captcha-solve-adapter 1.0

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.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page