Skip to main content

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.

Metadata

Release files for private-captcha 0.0.7

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

Source distribution (sdist)

Source distribution for private-captcha 0.0.7
File Size Uploaded Provenance Actions
private_captcha-0.0.7.tar.gz 6.4 kB Without provenance Details for private_captcha-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for private-captcha 0.0.7
File Interpreter ABI Platform Actions
private_captcha-0.0.7-py3-none-any.whl Python 3 none any Details for private_captcha-0.0.7-py3-none-any.whl

Total release size: 14.4 kB

Release files / private_captcha-0.0.7.tar.gz

Download URL private_captcha-0.0.7.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bf632589380895092a3006647287989b71fda04e884705cb3aa0a4a09bd691a8
BLAKE2b-256 checksum
How to use checksums
b30f51b58234061b83c8de05d6c1f8dccb121389d02a0f6f82cc7e294d3bbc16
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.7-py3-none-any.whl

Download URL private_captcha-0.0.7-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dbce6824600e68fa4ae94a0964d03f84e04e500a032b12fbe4bb175bb338c61
BLAKE2b-256 checksum
How to use checksums
8915e0ddacf90a4afda66fb6689bf07b44347201888ed16127b00e8551fea018
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for private-captcha 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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