Skip to content

AndreiDrang/python-rucaptcha

Repository files navigation

python-rucaptcha

Logo


PyPI version Python versions Downloads

Maintainability Codacy Badge codecov

Sphinx docs Build Installation Tests Lint

Python3 library for RuCaptcha and 2Captcha service API.

Tested on UNIX based OS.

The library is intended for software developers and is used to work with the RuCaptcha and 2Captcha service API.

Support of the service Death By Captcha is integrated into this library, more information in the library documentation or in the service docs.


Application in RuCaptcha software and 2Captcha software.

If you have any questions, please send a message to the Telegram chat room.

Or email python-captcha@pm.me

How to install?

pip

pip install python-rucaptcha

How to use?

Is described in the documentation-website.

How to test?

  1. You need set RUCAPTCHA_KEY in your environment(get this value from you account).
  2. Run command make tests, from root directory.

Changelog

For full changelog info check - Releases page.

  • v.6.0 - Library refactoring. Stop using pydantic, start using msgspec. Move to API v2. Drop Python 3.8 support. More details at Releases page.
  • v.5.3 - Added support for Death By Captcha and other services by changing service_type and url_request \ url_response parameters.
  • v.5.2 - Added Audio captcha method.
  • v.5.1 - Check releases page.
  • v.5.0 - Added AmazonWAF captcha method.
  • v.4.2 - Added Yandex Smart Captcha.

Get API Key to work with the library

  1. On the page - https://rucaptcha.com/enterpage
  2. Find it: img.png