Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 592 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 592 Bytes

CaptchaX

Captcha for Python, which generates captcha image by Rust.

Feature

  • Native Package base on Rust.
  • Simple, Easy to use;
  • High performance.

Install

Install captchax with pip:

pip install captchax

Usage

import captchax
text, image_bytes = captchax.create_image()
help(captchax.create_image)

len: num of character,

difficulty: range [1,10]

line: draw bezier curve or ellipse

noise: whether add gaussian noise

format: png | jpg | jpeg | webp

Thanks

rucaptcha