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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e6b0ce51afa895ca91e2f8f0e6b0a05bdae8fe54c8ae174f57af0facd77a5d |
|
MD5 | 167d75e3f56cd6e3d0084abe2f411c1d |
|
BLAKE2b-256 | 4dcc11f86a14087c4cfe22aeea5db25cd23c8487426c62a8da052652aeeedb69 |
Hashes for trustcaptcha_python-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee1a662f53554bdcd3dabcc6eb82f43bd31c59eea5ad9e081fa0c43eb2fd9bd |
|
MD5 | 7efcfb74eac740383e6698f5d966759b |
|
BLAKE2b-256 | b296621db51dbf075a82de8afece224cd5ea2a85c766cd20716946e7340d348f |