Skip to main content

(DEPRECATED) TrustCaptcha for Python

Reason this release was yanked:

⚠️ Deprecated – please use trustcaptcha>=2.0.0 instead

Project description

TrustCaptcha for Python

Protect websites and apps against bots and spam with a privacy-first, EU-hosted CAPTCHA solution.

⚠️ DEPRECATED
This package has been renamed and is now maintained as trustcaptcha (version 2.0.0 or above). Please update your requirements!

What is TrustCaptcha?

TrustCaptcha combines proof-of-work, an AI bot-score and custom security rules to stop automated bot abuse — without image marking or puzzles

Key perks:

  • Privacy-friendly & GDPR-compliant – data processed exclusively in Europe
  • No visual challenges – users never label images or solve quizzes
  • Fully themable widget – matches any brand and design and improves your user flow
  • Conversion-safe – near-zero user drop-off compared to legacy CAPTCHAs

Read the full TrustCaptcha product overview for technical details and the security concept.

Get started

  1. Create an account: sign up / sign in.
  2. Choose a CAPTCHA: pick an existing one or create a new one.
  3. Embed the widget: implement the TrustCaptcha widget into your website or app.
  4. Validate result: validate the CAPTCHA verification result in your backend.

Need a walkthrough? See the Python integration guide.

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.")

Other pre-built integrations

TrustCaptcha ships ready-made integrations for popular stacks:

  • Platforms like WordPress, Joomla, CraftCMS or Keycloak
  • Frontends like JavaScript, Angular, React or Vue.js
  • Backends like Node.js, PHP, Python, Java, Ruby, Rust, Go or DotNet
  • Mobile Applications like iOS, Android, React Native or Flutter

Discover all our pre-built Integrations on our website.

Get support

Questions? We will be happy to help!

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.1.tar.gz (8.6 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.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trustcaptcha_python-1.2.1.tar.gz
Algorithm Hash digest
SHA256 73f5136931ef1520f2f2f547fc53e77d27fd0aa4f09a3bdb8dab076f16ed71c4
MD5 192723aea877994c93456905a45d8e0c
BLAKE2b-256 59796c0f12369bc2a352f95a4766e8cbe4a48e5259eefcd859e545ee5d0403d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trustcaptcha_python-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5eb3b85ec7c2778dba60712b5b1025c6008e25f3dcad0d2411a08c01cd496298
MD5 c1ca05945e900fc47150bd71e731f052
BLAKE2b-256 cf3e75ddf83117a03e1d130579e2efcf1a11bb2fdafc105785949d8ec56dfa34

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