Block a user
fast-captcha (0.1.0)
Published 2026-07-10 00:37:15 +00:00 by tuna2134
Installation
pip install --index-url --extra-index-url https://pypi.org/simple fast-captchaAbout this package
Fast image CAPTCHA generation backed by Rust
fast-captcha
Python bindings for the Rust captcha-core image CAPTCHA generator.
from fast_captcha import ImageCaptcha
captcha = ImageCaptcha(width=160, height=60)
data = captcha.generate("ABCD") # io.BytesIO
captcha.write("1234", "captcha.png")
image = captcha.generate_image("R5T9") # PIL.Image.Image
Requirements
Requires Python: >=3.8