Private Captcha for Python
Official Python client for Private Captcha API
Please check the official documentation for the in-depth and up-to-date information.
Quick Start
- Install
private-captchapackagepip install private-captcha
- Instantiate the
Clientclass and callverify()method to verify the solutionfrom private_captcha import Client # Initialize the client with your API key client = Client(api_key="your-api-key-here") # Verify a captcha solution try: result = client.verify(solution="user-solution-from-frontend") if result.ok(): print("Captcha verified successfully!") else: print(f"Verification failed: {result}") except Exception as e: print(f"Error: {e}")
- Integrate with Flask or Django using
client.verify_request()helper
Requirements
- Python 3.9+
- No external dependencies (uses only standard library)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For issues with this Python client, please open an issue on GitHub. For Private Captcha service questions, visit privatecaptcha.com.
Metadata
Release files for private-captcha 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| private_captcha-0.0.6.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| private_captcha-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / private_captcha-0.0.6.tar.gz
| Download URL | private_captcha-0.0.6.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f8f4e4615239de509bc18815e9f48e96470753cd9fed4dfdbe2180014b981c7
|
|
BLAKE2b-256 checksum How to use checksums |
9db46fdbd43565bb1afa1926d76556176eedc38906cb141c3b14b4ba4adc3b82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / private_captcha-0.0.6-py3-none-any.whl
| Download URL | private_captcha-0.0.6-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55a38631715f40f79908d28726cee9d51b4474cf1066b5293b025fa0d768538b
|
|
BLAKE2b-256 checksum How to use checksums |
3f2ce8137b6056e86babcc29338f21048a841df03b3aefd0c3d165eba888f53e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|