Skip to main content

Python client library for Private Captcha API

Project description

Private Captcha for Python

PyPI version CI

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-captcha package
    pip install private-captcha
    
  • Instantiate the Client class and call verify() method to verify the solution
    from 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

private_captcha-0.0.6.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

private_captcha-0.0.6-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for private_captcha-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0f8f4e4615239de509bc18815e9f48e96470753cd9fed4dfdbe2180014b981c7
MD5 3a5d7bb3c68a74029b421557a6d05e1d
BLAKE2b-256 9db46fdbd43565bb1afa1926d76556176eedc38906cb141c3b14b4ba4adc3b82

See more details on using hashes here.

File details

Details for the file private_captcha-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for private_captcha-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 55a38631715f40f79908d28726cee9d51b4474cf1066b5293b025fa0d768538b
MD5 a9c480cd76b7fb490bdd13989a526b56
BLAKE2b-256 3f2ce8137b6056e86babcc29338f21048a841df03b3aefd0c3d165eba888f53e

See more details on using hashes here.

Supported by

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