{ "info": { "author": "Neil Freeman & Jim Witschey, based on work by Darius Kazemi", "author_email": "darius.kazemi@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": "wordfilter\n==========\n\nA small module meant for use in text generators that lets you filter\nstrings for bad words.\n\nGetting Started\n---------------\n\nInstall the module with ``pip install wordfilter``\n\n.. code:: python\n\n > import wordfilter\n > wordfilter.blacklisted(\"does this string have a bad word in it?\")\n False\n\n # add new words\n > wordfilter.add_words([\"zebra\", \"elephant\"])\n > wordfilter.blacklisted(\"this string has zebra in it\")\n True\n\n # remove a word\n > wordfilter.remove_words('zebra')\n > wordfilter.blacklisted('this string has zebra in it')\n False\n\n # clear the list entirely\n > wordfilter.clear_list()\n\nDocumentation\n-------------\n\nThis is a word filter adapted from code that I use in a lot of my\ntwitter bots. It is based on `a list of words that I've\nhand-picked `__\nfor exclusion from my bots: essentially, it's a list of things that I\nwould not say myself. Generally speaking, they are \"words of\noppression\", aka racist/sexist/ableist things that I would not say.\n\nThe list is not all-inclusive, and I'm always adding words to it. If\nyou'd like to file an issue or a pull request to add more words, please\ndo so, but understand that this is primarily for use in my own projects,\nand I may not agree to add certain words. (For example, I have no\nproblem with scatological words, so \"shit\" and \"fuck\" will never be on\nthis list.)\n\nWords are case insensitive.\n\nAlso note that due to the complexities of the English language, I am\nconsidering anything containing the substring of a bad word to be\nblacklisted. For example, even though \"homogenous\" is not a bad word, it\ncontains the substring \"homo\" and it gets filtered. The reason for this\nis that new slang pops up all the time using compound words and I can't\npossibly keep up with it. I'm willing to lose a few words like\n\"homogenous\" and \"Pakistan\" in order to avoid false negatives.\n\nContributing\n------------\n\nIn lieu of a formal styleguide, take care to maintain the existing\ncoding style. Add unit tests for any new or changed functionality. Lint\nand test your code using `Grunt `__.\n\nLicense\n-------\n\n| Copyright (c) 2013 Darius Kazemi\n| Licensed under the MIT license.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://tinysubversions.com", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wordfilter", "package_url": "https://pypi.org/project/wordfilter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wordfilter/", "project_urls": { "Homepage": "http://tinysubversions.com" }, "release_url": "https://pypi.org/project/wordfilter/0.2.6.2/", "requires_dist": null, "requires_python": "", "summary": "A small module meant for use in text generators that lets you filter strings for bad words.", "version": "0.2.6.2" }, "last_serial": 2717630, "releases": { "0.1.8": [ { "comment_text": "", "digests": { "md5": "82e232113b13158e0849eb5429717057", "sha256": "d388e12113ffb96651992a2372fa09c8bf0913fd003eb574a13fb201678a2d5a" }, "downloads": -1, "filename": "wordfilter-0.1.8-py2-none-any.whl", "has_sig": false, "md5_digest": "82e232113b13158e0849eb5429717057", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5393, "upload_time": "2015-02-10T20:54:13", "url": "https://files.pythonhosted.org/packages/ea/e9/2e8cfb547c431bb3a32575aa3bb9e5ade4bc93afc9d0b2918cc364f604ce/wordfilter-0.1.8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c9e3a00159961c323b0d885aa01a893", "sha256": "2f4436ebd9e5e23cd8dc865cda8e6f0edb705aa82cdef90706fb1a4bd2f57c8a" }, "downloads": -1, "filename": "wordfilter-0.1.8.tar.gz", "has_sig": false, "md5_digest": "1c9e3a00159961c323b0d885aa01a893", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3090, "upload_time": "2015-02-10T20:54:11", "url": "https://files.pythonhosted.org/packages/ee/bf/6580ce6f528506f2ce9b42a9b277a9caad2c18e924ca2cb065df8b718986/wordfilter-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "7ea6c714a9a60ce25323f8af82a2968f", "sha256": "a8552d82a6c6df8b12db080ce2d45df356943e88902e600520af004d0bd7a90d" }, "downloads": -1, "filename": "wordfilter-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "7ea6c714a9a60ce25323f8af82a2968f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5416, "upload_time": "2015-10-13T23:24:15", "url": "https://files.pythonhosted.org/packages/65/a4/53d0e0d6b24d4f4dc25453a29a4fe003743f7fdda3352a0d32075aea6332/wordfilter-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "db77a200176f0e6a505444dac4740125", "sha256": "1e25f04d55046ae363b63814da6cdec5aff33e229a01a28291822bb99d54058a" }, "downloads": -1, "filename": "wordfilter-0.1.9.tar.gz", "has_sig": false, "md5_digest": "db77a200176f0e6a505444dac4740125", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3243, "upload_time": "2015-10-13T23:24:21", "url": "https://files.pythonhosted.org/packages/26/ee/2ed7e51a78fac0742bbc69a8f721aec69337cc4e1baf494873ebf33df968/wordfilter-0.1.9.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "98ee30032f384be445b77100abea35d2", "sha256": "c8c5cbe4b7e421409263bbf91de2f1319ed7ed881e0df1d49a2799244b1712d5" }, "downloads": -1, "filename": "wordfilter-0.2.5-py3-none-any.whl", "has_sig": false, "md5_digest": "98ee30032f384be445b77100abea35d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5392, "upload_time": "2015-12-28T22:05:52", "url": "https://files.pythonhosted.org/packages/5b/73/7afb3cf3371069b3674fdd82fb6c48bc84b08fce9f543886bab42ac5b3a9/wordfilter-0.2.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdfec995e5ff1df482d79a539d1407a2", "sha256": "c3f42c5948e5cfe7da245785b084d7ac1edb1fe0bdf1dae102fce938b979c658" }, "downloads": -1, "filename": "wordfilter-0.2.5.tar.gz", "has_sig": false, "md5_digest": "bdfec995e5ff1df482d79a539d1407a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3253, "upload_time": "2015-12-28T22:05:59", "url": "https://files.pythonhosted.org/packages/aa/c0/7fbe536b0e1d807bb119a0f96f7bb28f636bcf519f9e918faaf2c172505c/wordfilter-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "498ef88ed6243cd1a74ff61221e6282e", "sha256": "7119657cb2a2a62670d44e3f61e4556eca2c644fa99884a00b348c9f119645e0" }, "downloads": -1, "filename": "wordfilter-0.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "498ef88ed6243cd1a74ff61221e6282e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5539, "upload_time": "2017-03-17T15:02:56", "url": "https://files.pythonhosted.org/packages/92/6a/f9364b3d3140df618b6d4c992a7ba27c4fd356bf7ad5aa85b0d6fc1612ac/wordfilter-0.2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53c558e2c4dd29f19cf03efb1dedf381", "sha256": "828f106f3949e59dac20a8ff2ea2d772f9abb510cb90dbc5d7ff8c33af20bfb4" }, "downloads": -1, "filename": "wordfilter-0.2.6.tar.gz", "has_sig": false, "md5_digest": "53c558e2c4dd29f19cf03efb1dedf381", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3335, "upload_time": "2017-03-17T15:02:57", "url": "https://files.pythonhosted.org/packages/7c/5a/a527baea3851a666d4c4ed6e6cfe7507e066c2604cb6158e1511b071e279/wordfilter-0.2.6.tar.gz" } ], "0.2.6.1": [ { "comment_text": "", "digests": { "md5": "83768cb9ce8549d413368222c71b4b7d", "sha256": "f09fbdce2923074279fb936dafc3a96647e797b82bc0414670992dc25ca410e0" }, "downloads": -1, "filename": "wordfilter-0.2.6.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "83768cb9ce8549d413368222c71b4b7d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5600, "upload_time": "2017-03-17T16:53:34", "url": "https://files.pythonhosted.org/packages/f1/9c/a9a44a93cfd4e8adea1981142df532de0ff88e6db497b936a458f9a23220/wordfilter-0.2.6.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc9f8d4acf20165424c02ef5174c53bc", "sha256": "6e957cbb48e2b719a8a4017fe03bae45b5d59f4be3912b9efbb7fe2a8809f016" }, "downloads": -1, "filename": "wordfilter-0.2.6.1.tar.gz", "has_sig": false, "md5_digest": "bc9f8d4acf20165424c02ef5174c53bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3435, "upload_time": "2017-03-17T16:53:36", "url": "https://files.pythonhosted.org/packages/e0/32/c52c47487c48bb2a33a9e92e1dbafb4ce7a9cc418f4121a0f66881c81b6c/wordfilter-0.2.6.1.tar.gz" } ], "0.2.6.2": [ { "comment_text": "", "digests": { "md5": "47f793b44d868e844c7149ce4c77c59e", "sha256": "805f24aa8b2747c3f09d76e00eafc57fe40b0a29973e0293e4c705dd5ae14d3b" }, "downloads": -1, "filename": "wordfilter-0.2.6.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "47f793b44d868e844c7149ce4c77c59e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5658, "upload_time": "2017-03-20T14:01:28", "url": "https://files.pythonhosted.org/packages/71/24/81db40a8e68dbee103bc19328ebbf5eba2ce58cd6982c4552b9da845ca3f/wordfilter-0.2.6.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e4c7f15a888199abb7cce155e82d51b", "sha256": "d80395cc2869a90bf7f78be5095477a365301c7dc8e149d0456860285509ae63" }, "downloads": -1, "filename": "wordfilter-0.2.6.2.tar.gz", "has_sig": false, "md5_digest": "4e4c7f15a888199abb7cce155e82d51b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3459, "upload_time": "2017-03-20T14:01:31", "url": "https://files.pythonhosted.org/packages/30/86/725e25a85b885d824e561fe819e932d7243530ced9990d375cf66d1e7dc2/wordfilter-0.2.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "47f793b44d868e844c7149ce4c77c59e", "sha256": "805f24aa8b2747c3f09d76e00eafc57fe40b0a29973e0293e4c705dd5ae14d3b" }, "downloads": -1, "filename": "wordfilter-0.2.6.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "47f793b44d868e844c7149ce4c77c59e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5658, "upload_time": "2017-03-20T14:01:28", "url": "https://files.pythonhosted.org/packages/71/24/81db40a8e68dbee103bc19328ebbf5eba2ce58cd6982c4552b9da845ca3f/wordfilter-0.2.6.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e4c7f15a888199abb7cce155e82d51b", "sha256": "d80395cc2869a90bf7f78be5095477a365301c7dc8e149d0456860285509ae63" }, "downloads": -1, "filename": "wordfilter-0.2.6.2.tar.gz", "has_sig": false, "md5_digest": "4e4c7f15a888199abb7cce155e82d51b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3459, "upload_time": "2017-03-20T14:01:31", "url": "https://files.pythonhosted.org/packages/30/86/725e25a85b885d824e561fe819e932d7243530ced9990d375cf66d1e7dc2/wordfilter-0.2.6.2.tar.gz" } ] }