Skip to main content

yet a captcha library

Project description



pip install pycturing


from pycturing.util import roll_text
from pycturing.text import TextPycturing

tp = TextPycturing()

# 随机地生成图像和答案
p1 = './debug/a.png'
r1 =
print(f'result 1: {r1} => {p1}')

# 把答案写到文件名里面
r2 = roll_text(length=5)
p2 = f'./debug/{r2}.png', text=r2)
print(f'result 2: {r2} => {p2}')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycturing-0.0.3.tar.gz (9.2 MB view hashes)

Uploaded source

Built Distribution

pycturing-0.0.3-py3-none-any.whl (9.2 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page