Trustcaptcha library for python
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for trustcaptcha-python-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4fb8a4f230847ee690e8f02ff10228af03ea2b9ff94994eaada0d89febd6055 |
|
MD5 | 0cb994c9b94704287ee1eebbac2e3cdc |
|
BLAKE2b-256 | c64ff5ff227bc17f4f5ede30af3a89a7b665b1bc57dfbffc3157ef72cdc8f4c4 |
Hashes for trustcaptcha_python-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f47f5dd92f9bf16b7468ef0105da573ebe8985704a374ba1e48789534a068a6 |
|
MD5 | d7b98b886dff8652d060134eb3cd90a6 |
|
BLAKE2b-256 | f974e68df25d03d8ab70d52cce46313494dd3b73b10c86f96472e37dce3970b1 |