
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
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 astrustcaptcha
(version 2.0.0 or above). Please update your requirements!
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:
Read the full TrustCaptcha product overview for technical details and the security concept.
Need a walkthrough? See the Python integration guide.
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.")
TrustCaptcha ships ready-made integrations for popular stacks:
Discover all our pre-built Integrations on our website.
Questions? We will be happy to help!
FAQs
(DEPRECATED) TrustCaptcha for Python
We found that trustcaptcha-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.