![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
.. image:: https://travis-ci.org/coagulant/cleanweb.png?branch=master :target: https://travis-ci.org/coagulant/cleanweb
.. image:: https://coveralls.io/repos/coagulant/cleanweb/badge.png?branch=master :target: https://coveralls.io/r/coagulant/cleanweb
Python wrapper for cleanweb API of Yandex to fight spam.
Yandex.Clean Web
_ helps against spam in text message in comments, on forums, etc.
It detects spam messages based on their content and offers API for graphic CAPTCHA.
Technlogies that power Yandex.Mail spam defence are behind Yandex.Clean Web.
.. _Yandex.Clean Web: http://api.yandex.ru/cleanweb/
Install via pip::
pip install cleanweb
If you understand and accept licence agreement
_ you need to Obtain mandatory API key
_ (yandex login is required)
API is provided as is
.. _licence agreement: http://legal.yandex.ru/cleanweb_api/ .. _Obtain mandatory API key: http://api.yandex.ru/cleanweb/form.xml
Examples show basic usage of cleanweb api, for details check sources and docs
_::
>> from cleanweb import Cleanweb
>> client = Cleanweb(key='cw.1.1.fc4c0c5c3be05adb04c9400214T193305Z')
check if message contains spam::
client.check_spam(body='This might be some spam message') {'id': '036151771200000F', 'links': [], 'spam_flag': False}
get captcha to show bots::
client.get_captcha() {'captcha': '20_iC0ZHRYtEllRhgEAngpsenpKGCIyi', 'url': 'http://i.captcha.yandex.net/image?key=20_iC0ZHRYtEllRhgEAngpsenpKGCIyi'}
.. image:: http://habrastorage.org/storage2/1a3/fda/5f4/1a3fda5f431fe7be4ed116220d383d40.png
check captcha::
client.check_captcha(captcha='20_iC0ZHRYtEllRhgEAngpsenpKGCIyi', value='48151632') True
complain on spam detector::
client.complain(id='036151771200000F', is_spam=False) True
.. _docs: http://api.yandex.ru/cleanweb/doc/dg/concepts/resources.xml
FAQs
Python wrapper for cleanweb API of Yandex to fight spam.
We found that cleanweb 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.