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.1.1.tar.gz (3.8 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.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trustcaptcha_python-1.1.1.tar.gz
Algorithm Hash digest
SHA256 87fcc97db6449844a44ed4d37b2cec21c3dadc6d77158eb874f5db02a67c524e
MD5 0423a148caa4d25c8da493a5dabb4c97
BLAKE2b-256 f23935150f4f11a6e516e61a21af92b670f6c457fbb4a4d3ada0b443572e730f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trustcaptcha_python-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7bde011d95d68ea2843578aff6a2f786d4773982632e42c0cf80466b66bba4c
MD5 a047d6e7eff185f1436a1fdfdde6cb67
BLAKE2b-256 069a6ebf7e4f6d24d5310824fc24194fb332cdd8ca80c3fc1d7cb45472f7f93b

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