Home

Awesome

Build Status Coverage Status Code Climate

visualCaptcha-python

Python package for visualCaptcha's backend service (compatible with Python 2 and 3)

Installation with PIP

You need Python installed with pip.

pip install visualcaptcha

Run tests

Run next command to run unit tests:

python test.py

Usage

Initialization

On initialization visualCaptcha function requires a Session session object as first argument:

from visualcaptcha import Session, Captcha
visualCaptcha = Captcha( Session(session) )
# Optional arguments: visualCaptcha = Captcha( Session(session, namespace), assetsPath, defaultImages, defaultAudios )

Where:

visualCaptcha.Captcha attributes

visualCaptcha.Captcha methods

Pushing to PyPi

$ python setup.py sdist upload

License

View the LICENSE file.