# 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](https://www.trustcaptcha.com).
## How does the library work?
Detailed instructions and examples for using the library can be found in our [documentation](https://trustcaptcha.com/en/documentation/backend/python).
## Short example
Here you can see a short code example of a possible integration. Please refer to our provided [documentation](https://trustcaptcha.com/en/documentation/backend/python) 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](https://about.trustcaptcha.com/en#contact-us).
Raw data
{
"_id": null,
"home_page": null,
"name": "trustcaptcha-python",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "captcha, gdpr, privacy, security, made-in-germany, eu, european-union",
"author": null,
"author_email": "Trustcaptcha GmbH <mail@trustcaptcha.com>",
"download_url": "https://files.pythonhosted.org/packages/4d/cc/11f86a14087c4cfe22aeea5db25cd23c8487426c62a8da052652aeeedb69/trustcaptcha_python-1.1.0.tar.gz",
"platform": null,
"description": "# Trustcaptcha Python-Library\n\nThe Python library helps you to integrate Trustcaptcha into your Python backend applications.\n\n\n## What is Trustcaptcha?\n\nA captcha solution that protects you from bot attacks and puts a special focus on user experience and data protection.\n\nYou can find more information on your website: [www.trustcaptcha.com](https://www.trustcaptcha.com).\n\n\n## How does the library work?\n\nDetailed instructions and examples for using the library can be found in our [documentation](https://trustcaptcha.com/en/documentation/backend/python).\n\n\n## Short example\n\nHere you can see a short code example of a possible integration. Please refer to our provided [documentation](https://trustcaptcha.com/en/documentation/backend/python) for complete and up-to-date integration instructions.\n\nInstalling the library\n\n``pip install trustcaptcha-python``\n\nFetching and handling the result\n\n```\n# Retrieving the verification result\nverification_result = CaptchaManager.get_verification_result(\"<your_secret_key>\", <verification_token>)\n\n# Do something with the verification result\nif verification_result.verificationPassed is not True or verification_result.score > 0.5:\n print(\"Verification failed, or bot score is higher than 0.5 \u2013 this could indicate a bot.\")\n```\n\n## Ideas and support\n\nIf you have any ideas, suggestions, or need support, please [contact us](https://about.trustcaptcha.com/en#contact-us).\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Trustcaptcha library for python",
"version": "1.1.0",
"project_urls": null,
"split_keywords": [
"captcha",
" gdpr",
" privacy",
" security",
" made-in-germany",
" eu",
" european-union"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b296621db51dbf075a82de8afece224cd5ea2a85c766cd20716946e7340d348f",
"md5": "7efcfb74eac740383e6698f5d966759b",
"sha256": "9ee1a662f53554bdcd3dabcc6eb82f43bd31c59eea5ad9e081fa0c43eb2fd9bd"
},
"downloads": -1,
"filename": "trustcaptcha_python-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7efcfb74eac740383e6698f5d966759b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4950,
"upload_time": "2024-05-03T19:15:23",
"upload_time_iso_8601": "2024-05-03T19:15:23.057935Z",
"url": "https://files.pythonhosted.org/packages/b2/96/621db51dbf075a82de8afece224cd5ea2a85c766cd20716946e7340d348f/trustcaptcha_python-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4dcc11f86a14087c4cfe22aeea5db25cd23c8487426c62a8da052652aeeedb69",
"md5": "167d75e3f56cd6e3d0084abe2f411c1d",
"sha256": "f7e6b0ce51afa895ca91e2f8f0e6b0a05bdae8fe54c8ae174f57af0facd77a5d"
},
"downloads": -1,
"filename": "trustcaptcha_python-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "167d75e3f56cd6e3d0084abe2f411c1d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3788,
"upload_time": "2024-05-03T19:15:24",
"upload_time_iso_8601": "2024-05-03T19:15:24.631111Z",
"url": "https://files.pythonhosted.org/packages/4d/cc/11f86a14087c4cfe22aeea5db25cd23c8487426c62a8da052652aeeedb69/trustcaptcha_python-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-03 19:15:24",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "trustcaptcha-python"
}