Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

captchaly-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

captchaly-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for captchaly-1.0.0.tar.gz
Algorithm Hash digest
SHA256 06725a5ebbe688b7912f45593a8abce9c6fa47bfe3b20541058ddc96c4fd442d
MD5 b2ac061f78211e8ccd13a59b8083ea4a
BLAKE2b-256 c1e45ccede1da3fc07f2381fd0f4d6aaab38bafb9f07ba70e1bd169ec4232645

See more details on using hashes here.

Provenance

The following attestation bundles were made for captchaly-1.0.0.tar.gz:

Publisher: python-publish.yml on heav33n/captchaly-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for captchaly-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 479128196e3cdadc5280424d50e62a8f1980049403ecc26588eaece551848426
MD5 f62f2478436ce229a1116d592d83ba77
BLAKE2b-256 dcdea49aa773849764838d62c16f7fe1242860e9b32aef230eaf03bce1e4f13a

See more details on using hashes here.

Provenance

The following attestation bundles were made for captchaly-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on heav33n/captchaly-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page