Python client library for Private Captcha API
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file private_captcha-0.0.6.tar.gz.
File metadata
- Download URL: private_captcha-0.0.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f8f4e4615239de509bc18815e9f48e96470753cd9fed4dfdbe2180014b981c7
|
|
| MD5 |
3a5d7bb3c68a74029b421557a6d05e1d
|
|
| BLAKE2b-256 |
9db46fdbd43565bb1afa1926d76556176eedc38906cb141c3b14b4ba4adc3b82
|
File details
Details for the file private_captcha-0.0.6-py3-none-any.whl.
File metadata
- Download URL: private_captcha-0.0.6-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a38631715f40f79908d28726cee9d51b4474cf1066b5293b025fa0d768538b
|
|
| MD5 |
a9c480cd76b7fb490bdd13989a526b56
|
|
| BLAKE2b-256 |
3f2ce8137b6056e86babcc29338f21048a841df03b3aefd0c3d165eba888f53e
|