# 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://docs.trustcaptcha.com/en/documentation/backend/integration?backend=python).
## Short example
Here you can see a short code example of a possible integration. Please refer to our provided [documentation](https://docs.trustcaptcha.com/en/documentation/backend/integration?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://www.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/8b/32/77f70a4a2d346a428f83d1415c0e87d213fdb7c7be5cdb3b436f26d6ee84/trustcaptcha_python-1.1.2.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://docs.trustcaptcha.com/en/documentation/backend/integration?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://docs.trustcaptcha.com/en/documentation/backend/integration?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://www.trustcaptcha.com/en/contact-us).\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Trustcaptcha library for python",
"version": "1.1.2",
"project_urls": null,
"split_keywords": [
"captcha",
" gdpr",
" privacy",
" security",
" made-in-germany",
" eu",
" european-union"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e04a8679681a68ac6a88331239a3f83693ffa38a8c3064f16782bd9f68331536",
"md5": "adefc850ca054a3fcb1e382c6a4d4421",
"sha256": "331f941c9e33f218459f61282da7cd403b8a6dee7e6df89f67654a6e6ecf1937"
},
"downloads": -1,
"filename": "trustcaptcha_python-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "adefc850ca054a3fcb1e382c6a4d4421",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4954,
"upload_time": "2024-11-08T15:31:33",
"upload_time_iso_8601": "2024-11-08T15:31:33.625161Z",
"url": "https://files.pythonhosted.org/packages/e0/4a/8679681a68ac6a88331239a3f83693ffa38a8c3064f16782bd9f68331536/trustcaptcha_python-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8b3277f70a4a2d346a428f83d1415c0e87d213fdb7c7be5cdb3b436f26d6ee84",
"md5": "a02d269da8a1ce87ef18c9a6257ce2e9",
"sha256": "128e8e4a23055ad80656ba8a7512ddb5b569f559340d25be0f730aff850409f6"
},
"downloads": -1,
"filename": "trustcaptcha_python-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "a02d269da8a1ce87ef18c9a6257ce2e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3818,
"upload_time": "2024-11-08T15:31:35",
"upload_time_iso_8601": "2024-11-08T15:31:35.201959Z",
"url": "https://files.pythonhosted.org/packages/8b/32/77f70a4a2d346a428f83d1415c0e87d213fdb7c7be5cdb3b436f26d6ee84/trustcaptcha_python-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 15:31:35",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "trustcaptcha-python"
}