Skip to main content

Amazon Captcha Solver

Pure Python (3.6+), lightweight, Pillow-based solver for the Amazon image captcha.

Accuracy Timing Size Version Python version Downloads

Installation

pip install amazoncaptcha

Quick Snippet

from amazoncaptcha import AmazonCaptcha

solution = AmazonCaptcha('captcha.jpg').solve()

Status

Build Status CodeFactor Grade

from amazoncaptcha import AmazonCaptcha
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://www.amazon.com/errors/validateCaptcha')

captcha = AmazonCaptcha.from_webdriver(driver)
solution = captcha.solve()

For Whom?

  • Data extraction and web scraping specialists could use this tool, obviously, to bypass the Amazon captcha.
  • Machine learning developers could use captchas folder (currently contains 15000 solved captchas) based on a demand.

Contribution

  • If you checked the code and you know the way or have any ideas, how to make it better, feel free to fork-n-pull or contact me. Thank you!
  • If you want to help with current problems, please check this file.

Changes

  • Version 0.0.10:
    1. Reached 10000 training samples.
    2. Reached 90%+ accuracy.
  • Version 0.0.11:
    1. Fixed error with captcha images that were taken from BytesIO.
  • Version 0.0.12:
    1. Code adjustments and improvements.
    2. Program can now solve images where last letter is corrupted.
  • Version 0.0.13:
    1. Added and tested 'from_webdriver' classmethod.
  • Version 0.1.0:
    1. 100,000 captchas crash test, accuracy is 98.5%.
  • Version 0.1.1:
    1. Code adjustments and improvements.
    2. Added tests.

Metadata

Release files for amazoncaptcha 0.1.1

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

Source distribution (sdist)

Source distribution for amazoncaptcha 0.1.1
File Size Uploaded Provenance Actions
amazoncaptcha-0.1.1.tar.gz 865.6 kB Without provenance Details for amazoncaptcha-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amazoncaptcha 0.1.1
File Interpreter ABI Platform Actions
amazoncaptcha-0.1.1-py3-none-any.whl Python 3 none any Details for amazoncaptcha-0.1.1-py3-none-any.whl

Total release size: 1.8 MB

Release files / amazoncaptcha-0.1.1.tar.gz

Download URL amazoncaptcha-0.1.1.tar.gz
Size 865.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fb1d0daa3d399e8ba84be3e6372e6d65d9de8f51e365729486d6e8113d9a7cc0
BLAKE2b-256 checksum
How to use checksums
b2bb13495e1b014afec5392fecd7282574fee9ef656aa682f767552ffc0150be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.4

Release files / amazoncaptcha-0.1.1-py3-none-any.whl

Download URL amazoncaptcha-0.1.1-py3-none-any.whl
Size 926.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62910b6c9ca256d673dc3c17d8ef6ce3a22cde6425fddfebee86810880f3c842
BLAKE2b-256 checksum
How to use checksums
aced1603da71d7c868e98f8155152321bbbbdf624b1b22cd8db413e1aff88c1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.4

Security for amazoncaptcha 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.

Release history Release notifications | RSS feed

This release

0.1.1 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