tuna2134
  • Joined on 2026-02-06

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-captcha

About 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
Details
PyPI
2026-07-10 00:37:15 +00:00
2
678 KiB
Assets (2)
Versions (1) View all
0.1.0 2026-07-10