{"id":13593006,"url":"https://github.com/alperensert/capmonster_python","last_synced_at":"2026-01-12T09:31:51.377Z","repository":{"id":38122872,"uuid":"307163153","full_name":"alperensert/capmonster_python","owner":"alperensert","description":"Capmonster.cloud library for Python3","archived":false,"fork":false,"pushed_at":"2025-04-30T22:35:59.000Z","size":5922,"stargazers_count":51,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-04T13:18:53.950Z","etag":null,"topics":["async-python","capmonster","capmonster-cloud","captcha-bypass","captcha-solving","cloudflare-bypass","pydantic","recaptcha-v2","task-automation"],"latest_commit_sha":null,"homepage":"https://alperensert.github.io/capmonster_python/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alperensert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-25T18:18:32.000Z","updated_at":"2025-11-16T13:58:43.000Z","dependencies_parsed_at":"2024-06-20T21:54:18.681Z","dependency_job_id":"eb9facbf-ddab-4ac2-8544-83ec73803f73","html_url":"https://github.com/alperensert/capmonster_python","commit_stats":{"total_commits":29,"total_committers":6,"mean_commits":4.833333333333333,"dds":0.6206896551724138,"last_synced_commit":"a408ad3383f2d1bf5a61a845cc216a8502c78f5b"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/alperensert/capmonster_python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperensert%2Fcapmonster_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperensert%2Fcapmonster_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperensert%2Fcapmonster_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperensert%2Fcapmonster_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alperensert","download_url":"https://codeload.github.com/alperensert/capmonster_python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperensert%2Fcapmonster_python/sbom","scorecard":{"id":186490,"data":{"date":"2025-08-11","repo":{"name":"github.com/alperensert/capmonster_python","commit":"852891c5a117b753bf5c8d18e341e58eb236bf9f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/ghpages.yml:11","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ghpages.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/alperensert/capmonster_python/ghpages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ghpages.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/alperensert/capmonster_python/ghpages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/alperensert/capmonster_python/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alperensert/capmonster_python/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/alperensert/capmonster_python/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/alperensert/capmonster_python/tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ghpages.yml:38","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:33","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:8"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T19:53:49.989Z","repository_id":38122872,"created_at":"2025-08-16T19:53:49.989Z","updated_at":"2025-08-16T19:53:49.989Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async-python","capmonster","capmonster-cloud","captcha-bypass","captcha-solving","cloudflare-bypass","pydantic","recaptcha-v2","task-automation"],"created_at":"2024-08-01T16:01:15.583Z","updated_at":"2026-01-12T09:31:51.372Z","avatar_url":"https://github.com/alperensert.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# 🤖 Capmonster Python\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/capmonster-python?style=for-the-badge)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/alperensert/capmonster_python?style=for-the-badge)\n![GitHub last commit](https://img.shields.io/github/last-commit/alperensert/capmonster_python?style=for-the-badge)\n![GitHub Release](https://img.shields.io/github/v/release/alperensert/capmonster_python?style=for-the-badge)\n![GitHub Repo stars](https://img.shields.io/github/stars/alperensert/capmonster_python?style=for-the-badge\u0026color=rgb(255%2C%20255%2C%20143)\u0026cacheSeconds=3600)\n\nA modern, strongly typed, async-friendly Python SDK for solving CAPTCHA challenges\nusing [Capmonster.Cloud](https://capmonster.cloud/).\n\nSupports reCAPTCHA v2 \u0026 v3, Cloudflare Turnstile, GeeTest (v3 \u0026 v4) and [much more](#-supported-captcha-types).\n\n---\n\n## ✨ Features\n\n- ✅ Fully typed Pydantic v2 models\n- 🔁 Both sync and async API support\n- 🔐 Proxy and User-Agent configuration\n- 📦 Supports the most common CAPTCHA types\n- 📚 Intuitive API with powerful task building\n\n---\n\n## 🔧 Installation\n\n```bash\npip install capmonster_python\n```\n\n\u003e [!IMPORTANT]  \n\u003e You're viewing the documentation for **Capmonster Python v4**, which includes breaking changes. If you prefer the\n\u003e old syntax used in versions prior to 4.x, you can continue using it by installing the legacy version:  \n\u003e ```pip install capmonster_python==3.2```\n\n## 🚀 Quick Start\n\n### Async Example\n\n```python\nimport asyncio\nfrom capmonster_python import CapmonsterClient, RecaptchaV3Task\n\n\nasync def main():\n    client = CapmonsterClient(api_key=\"YOUR_API_KEY\")\n\n    task = RecaptchaV3Task(\n        websiteURL=\"https://example.com\",\n        websiteKey=\"SITE_KEY_HERE\",\n        minScore=0.5,\n        pageAction=\"verify\"\n    )\n\n    task_id = await client.create_task_async(task)\n    result = await client.join_task_result_async(task_id)\n    print(result)\n\n\nasyncio.run(main())\n\n```\n\n### Sync Example\n\n```python\nfrom capmonster_python import CapmonsterClient, RecaptchaV2Task\n\nclient = CapmonsterClient(api_key=\"\u003cYOUR_API_KEY\u003e\")\n\ntask = RecaptchaV2Task(\n    websiteURL=\"https://example.com\",\n    websiteKey=\"SITE_KEY_HERE\"\n)\n\ntask_id = client.create_task(task)\nresult = client.join_task_result(task_id)\nprint(result)\n```\n\n---\n\n## 🧠 Supported CAPTCHA Types\n\nCapmonster Python v4 supports a wide range of CAPTCHA formats — from mainstream challenges like reCAPTCHA and Turnstile\nto enterprise-grade shields like Imperva and DataDome. Each task supports full Pydantic validation ✅ and both sync and\nasync clients 🔄 unless noted.\n\n| 🔖 Category               | CAPTCHA Type                   | Class Name                    | Proxy Required | Notes                                  |\n|---------------------------|--------------------------------|-------------------------------|----------------|----------------------------------------|\n| 🧩 reCAPTCHA              | reCAPTCHA v2                   | `RecaptchaV2Task`             | Optional       | Visible / Invisible supported ✅ 🔄     |\n|                           | reCAPTCHA v2 Enterprise        | `RecaptchaV2EnterpriseTask`   | Optional       | `enterprisePayload` \u0026 `apiDomain` ✅ 🔄 |\n|                           | reCAPTCHA v3                   | `RecaptchaV3Task`             | ❌ No           | Score-based, proxyless ✅ 🔄            |\n| 🛡️ Cloudflare            | Turnstile (token)              | `TurnstileTask`               | ❌ No           | Lightweight, async-ready ✅ 🔄          |\n|                           | Turnstile (cf_clearance)       | `TurnstileCloudFlareTask`     | ✅ Yes          | Full HTML + proxy required ✅ 🔄        |\n| 📸 Image-based            | Image-to-Text OCR              | `ImageToTextTask`             | ❌ No           | Base64 image + module control ✅ 🔄     |\n|                           | Complex Image (Recaptcha-like) | `ComplexImageRecaptchaTask`   | ❌ No           | Grid-based, metadata aware ✅ 🔄        |\n|                           | Complex Image Recognition (AI) | `ComplexImageRecognitionTask` | ❌ No           | Supports tasks like Shein, OOCL ✅ 🔄   |\n| 🧠 Human Behavior         | GeeTest v3                     | `GeeTestV3Task`               | Optional       | Challenge + `gt` key + freshness ✅ 🔄  |\n|                           | GeeTest v4                     | `GeeTestV4Task`               | Optional       | `initParameters` supported ✅ 🔄        |\n| 🛡️ Enterprise Protection | DataDome                       | `DataDomeTask`                | ✅ Recommended  | Cookie \u0026 page context needed ✅ 🔄      |\n|                           | Imperva                        | `ImpervaTask`                 | ✅ Recommended  | Incapsula + Reese84 logic ✅ 🔄         |\n| 🏦 Platform-Specific      | Binance Login                  | `BinanceTask`                 | ✅ Yes          | `validateId` for login flow ✅ 🔄       |\n|                           | Temu                           | `TemuTask`                    | ❌ No           | Cookie-injected behavioral solver ✅ 🔄 |\n|                           | TenDI                          | `TenDITask`                   | ✅ Yes          | Custom captchaAppId field ✅ 🔄         |\n| 🧪 Miscellaneous          | Prosopo                        | `ProsopoTask`                 | Optional       | Used in zk or crypto UIs ✅ 🔄          |\n|                           | Basilisk                       | `BasiliskTask`                | ❌ No           | Minimalist site-key puzzle ✅ 🔄        |\n\n## 🧩 Advanced Usage\n\n- Callback URLs are supported during task creation.\n- Includes auto-retry loop for polling results (up to 120s)\n\n## 💬 Community \u0026 Support\n\nNeed help or have a question?\n\n- 📧 Contact: business@alperen.io\n- 🐛 Found a bug? [Open an issue](https://github.com/alperensert/capmonster_python/issues)\n\n\u003e [!NOTE]  \n\u003e Community support is intended only for questions and issues related to this project. Custom usage scenarios,\n\u003e integrations, or application-specific logic are outside the scope of support.\n\n## 📄 License\n\nThis project is licensed under the [MIT License](/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falperensert%2Fcapmonster_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falperensert%2Fcapmonster_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falperensert%2Fcapmonster_python/lists"}