Socket
Book a DemoInstallSign in
Socket

trustcaptcha-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trustcaptcha-python

(DEPRECATED) TrustCaptcha for Python

1.2.1
pipPyPI
Maintainers
1

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

  • Create an account: sign up / sign in.
  • Choose a CAPTCHA: pick an existing one or create a new one.
  • Embed the widget: implement the TrustCaptcha widget into your website or app.
  • 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!

Keywords

captcha

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.