{ "info": { "author": "asyncee", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Python obscene words filter.\n\n---------------\n\n|python| |pypi| |license|\n\n---------------\n\n\nThis is ultra simple words filter, based on regular expressions.\nIt is built on regular expressions, with Russian language support from the box.\n\nIt may work with your language too (if you will write your own regular\nexpressions).\n\nBefore using in production, you should test it, because there are\nno swear words filter in the world that does well filtering,\nso the quality is not 100%.\n\nBut test coverage is :)\n\n\nQuickstart\n----------\n\nSample code::\n\n from obscene_word_filter.default import get_default_filter\n\n f = get_default_filter()\n\nOr::\n\n from obscene_word_filter import conf\n from obscene_word_filter.words_filter import ObsceneWordsFilter\n\n f = ObsceneWordsFilter(conf.bad_words_re, conf.good_words_re)\n\nThen you can mask use input::\n\n f.mask_bad_words(\"\u0422\u0443\u0442 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430.\")\n >>> \u0422\u0443\u0442 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c ******** *****.\n\n\nDocumentation\n-------------\nJust read the tests :)\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/python-obscene-words-filter.svg?style=flat-square\n :target: https://pypi.python.org/pypi/python-obscene-words-filter\n :alt: pypi\n\n.. |license| image:: https://img.shields.io/github/license/asyncee/python-obscene-words-filter.svg?style=flat-square\n :target: https://github.com/asyncee/python-obscene-words-filter/blob/master/LICENSE.txt\n :alt: MIT License\n\n.. |python| image:: https://img.shields.io/badge/python-2.7-green.svg?style=flat-square\n :target: https://pypi.python.org/pypi/python-obscene-words-filter\n :alt: Python 2.7", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/python-obscene-words-filter/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/asyncee/python-obscene-words-filter", "keywords": "obscene swear words filter", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "python-obscene-words-filter", "package_url": "https://pypi.org/project/python-obscene-words-filter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-obscene-words-filter/", "project_urls": { "Download": "https://pypi.python.org/pypi/python-obscene-words-filter/", "Homepage": "https://github.com/asyncee/python-obscene-words-filter" }, "release_url": "https://pypi.org/project/python-obscene-words-filter/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "Obscene words filter for python, built on regexp for Russian language.", "version": "0.1.6" }, "last_serial": 2599275, "releases": { "0.1": [], "0.1.3": [], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e54c58d4ef0a2f7032540bfdaeab22b2", "sha256": "89cac25d5d4d0cb46298f766a515ef01d74fc3e4cbc2ac35ec02a7bf99d302ef" }, "downloads": -1, "filename": "python-obscene-words-filter-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e54c58d4ef0a2f7032540bfdaeab22b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8624, "upload_time": "2017-01-24T13:45:01", "url": "https://files.pythonhosted.org/packages/29/95/a3ce968939ecff1b72cb60c34dd9712a5202e91536af76f2cb11d145a773/python-obscene-words-filter-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "77d2c18244fea7162f2008d57b14069b", "sha256": "ab3a5b992d04e00c0de2580c2d63217299a34072d95b5f434043e1c190c1603f" }, "downloads": -1, "filename": "python-obscene-words-filter-0.1.5.tar.gz", "has_sig": false, "md5_digest": "77d2c18244fea7162f2008d57b14069b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8321, "upload_time": "2017-01-24T13:57:18", "url": "https://files.pythonhosted.org/packages/da/85/b965cdc0622c9b082ec38927ad96d1e7e8f2bbf1439310d0d65df6bceb42/python-obscene-words-filter-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "105c11e962c3350f02381b13d9f65a3a", "sha256": "88c2daaf1ad2bff86ccb740ded467b0442bfecbc95762173864e051ab2153cb9" }, "downloads": -1, "filename": "python-obscene-words-filter-0.1.6.tar.gz", "has_sig": false, "md5_digest": "105c11e962c3350f02381b13d9f65a3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8326, "upload_time": "2017-01-26T08:30:51", "url": "https://files.pythonhosted.org/packages/54/c2/7ae2a9065b39555637bbabd67aa4d98bf85bd69a7e8fee4b7e0dc1b4b702/python-obscene-words-filter-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "105c11e962c3350f02381b13d9f65a3a", "sha256": "88c2daaf1ad2bff86ccb740ded467b0442bfecbc95762173864e051ab2153cb9" }, "downloads": -1, "filename": "python-obscene-words-filter-0.1.6.tar.gz", "has_sig": false, "md5_digest": "105c11e962c3350f02381b13d9f65a3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8326, "upload_time": "2017-01-26T08:30:51", "url": "https://files.pythonhosted.org/packages/54/c2/7ae2a9065b39555637bbabd67aa4d98bf85bd69a7e8fee4b7e0dc1b4b702/python-obscene-words-filter-0.1.6.tar.gz" } ] }