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.1b0.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.1b0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trustcaptcha_python-1.2.1b0.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.1b0.tar.gz
Algorithm Hash digest
SHA256 6358b9a964a60dcf7eaf6b9f5a1c2cf2a314c393bbbf827baf641445aeaa76f0
MD5 66c4c6e316dc53044898c3b302f3dbf4
BLAKE2b-256 eae1da69a6ceb516d10c5a2e1b735fe947981085652f932c952f8b6ed7bc5d73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trustcaptcha_python-1.2.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 30294c3e6c977ca86fb2fb6f0d0f6919f1fb27895f902ba98b121a7027f151b5
MD5 866340259d827063a5c087b96bdff790
BLAKE2b-256 5f34c2126ded0ffb1d2b0b137c0de1fc8111c60acbd1463aae34ca3eb6c04b4c

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