simple anti captcha library
Project description
anticaptcha
=========
Simple anticaptcha library for images with text.
>>> pip install anticaptcha
.. code:: python
from anticaptcha import Anticaptcha
ac = Anticaptcha('API_TOKEN')
with open('captcha.png', 'rb') as img:
response = ac.createTask(img.read())
task_id = response['taskId']
result = ac.getTaskResult(task_id)
solution = result['solution']['text']
Test with: python -m pytest
=========
Simple anticaptcha library for images with text.
>>> pip install anticaptcha
.. code:: python
from anticaptcha import Anticaptcha
ac = Anticaptcha('API_TOKEN')
with open('captcha.png', 'rb') as img:
response = ac.createTask(img.read())
task_id = response['taskId']
result = ac.getTaskResult(task_id)
solution = result['solution']['text']
Test with: python -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anticaptcha-0.0.1.tar.gz
(2.7 kB
view details)
File details
Details for the file anticaptcha-0.0.1.tar.gz
.
File metadata
- Download URL: anticaptcha-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c2535a3409bb19380044bda33de1794afe5d9f6b6d849c507b660257931cba |
|
MD5 | ae71ad90a1c0094597701c09fd7d7ecb |
|
BLAKE2b-256 | 8e0b595aa1e61a736238b4334e25edb668f1109a1749580b04660756578eb1a9 |