Skip to main content

Python 客户端

安装

pip install powcaptcha

接入

from powcaptcha import PowCaptcha
captcha = PowCaptcha("http://localhost:8000") # 填写服务端地址,实例化类
token = captcha.solve() # 自动完成验证码,成功返回token否则为None

Metadata

Release files for powcaptcha 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for powcaptcha 0.2.0
File Size Uploaded
powcaptcha-0.2.0.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for powcaptcha 0.2.0
File Interpreter ABI Platform
powcaptcha-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / powcaptcha-0.2.0.tar.gz

Download URL powcaptcha-0.2.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
450fa7c576c338e9643439b28f8ac64c1233c8762f989e80deca9c236860cb68
BLAKE2b-256 checksum
How to use checksums
3a551a5de49134752f1b314a26fc69abd7130e8d76ff1d70e951b53b209a080b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release files / powcaptcha-0.2.0-py3-none-any.whl

Download URL powcaptcha-0.2.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
823744036bcdb1cc87797a5579057c64be9191bad8d048ad7c89ac3755d970d0
BLAKE2b-256 checksum
How to use checksums
4cdb14e38575c8e4048e961982353ef90248a1961b69cf59d49a193ce5fe4d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page