Skip to main content

A basic python module

Project description

Welcome to basicpy2captcha python module👋


A basic python module


pip install basicpy2captcha


import base64
import basicpy2captcha

py2c = captcha.py2c("YOUR_2CAPTCHA_API_KEY")

#Text Image:
with open("captcha.png", "rb") as f:
    img_b64 = base64.b64encode(

solved = py2c.solveCaptcha(img_b64)

key = py2c.get_sitekey(driver) #driver - selenium webbrowser object
token = solveReCaptcha(key,driver.current_url)
if token:

balance = py2c.getBalance()

#report Correct resolve:

#report Incorrect resolve:

Show your support

Give a ⭐️ if this project helped you!

Project details

Download files

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

Files for basicpy2captcha, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size basicpy2captcha-1.0.2-py3-none-any.whl (2.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size basicpy2captcha-1.0.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page