Socket
Book a DemoInstallSign in
Socket

private-captcha

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

private-captcha

Python client library for Private Captcha API

pipPyPI
Version
0.0.2
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts