Skip to main content

Trustcaptcha library for python

Reason this release was yanked:

⚠️ Deprecated – please use trustcaptcha>=2.0.0 instead

Project description

Trustcaptcha Python-Library

The Python library helps you to integrate Trustcaptcha into your Python backend applications.

What is Trustcaptcha?

A captcha solution that protects you from bot attacks and puts a special focus on user experience and data protection.

You can find more information on your website: www.trustcaptcha.com.

How does the library work?

Detailed instructions and examples for using the library can be found in our documentation.

Short example

Here you can see a short code example of a possible integration. Please refer to our provided documentation for complete and up-to-date integration instructions.

Installing the library

pip install trustcaptcha-python

Fetching and handling the result

# Retrieving the verification result
verification_result = CaptchaManager.get_verification_result("<your_secret_key>", <verification_token>)

# Do something with the verification result
if verification_result.verificationPassed is not True or verification_result.score > 0.5:
    print("Verification failed, or bot score is higher than 0.5 – this could indicate a bot.")

Ideas and support

If you have any ideas, suggestions, or need support, please contact us.

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

trustcaptcha_python-1.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

trustcaptcha_python-1.2.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file trustcaptcha_python-1.2.0.tar.gz.

File metadata

  • Download URL: trustcaptcha_python-1.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for trustcaptcha_python-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b678c276ae84fe8eb3716e0e1685acbb6cd9a175362e53ff65300943eb727ddf
MD5 66e8f2112d70fb6759047c333621ac98
BLAKE2b-256 841563bc0b2bc6c6ee38d59d979037d4b448dd877abe3712d0441f264609c8be

See more details on using hashes here.

File details

Details for the file trustcaptcha_python-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trustcaptcha_python-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7484f0a2b8b81d48d7651997842b2a7bdfe7f6aef330b56098b350bd7cbab792
MD5 2b1cd220689d29015d37b038b0236adc
BLAKE2b-256 376c23cb48d7ad0000da577a6164bfdc67baa574169ac0b6bf6fcf1ee13f4a38

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