Skip to content

fduseless/captchax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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