{ "info": { "author": "Steven Englehardt", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment :: Mozilla", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Scientific/Engineering :: Information Analysis" ], "description": "# BlockListParser\nCode to detect if a url matches any of the regexes in lists like ad block plus lists\n\nIn order to use it,\n\nblocklist_parser = new BlockListParser(regex_file) \n\nor \n\nblocklist_parser = new BlockListParser(regexes)\nwhere regexes is comma separated list of regexes\n\nThen to detect if something should be blocked,\n\nblocklist_parser.should_block(ur, options)\nwhere options is a dictionary with keys like image, third-party, etc. (look at RegexParser.py for a list of options possible).\n\nAlso, use\n\nblocklist_parser.should_block_with_items(url, options) \nto get the list of regexes which block a certain url\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/englehardt/abp-blocklist-parser", "keywords": "", "license": "GPL v3", "maintainer": "", "maintainer_email": "", "name": "abp-blocklist-parser", "package_url": "https://pypi.org/project/abp-blocklist-parser/", "platform": "", "project_url": "https://pypi.org/project/abp-blocklist-parser/", "project_urls": { "Homepage": "https://github.com/englehardt/abp-blocklist-parser" }, "release_url": "https://pypi.org/project/abp-blocklist-parser/0.2/", "requires_dist": null, "requires_python": "", "summary": "Library for parsing ABP filter lists", "version": "0.2" }, "last_serial": 4813557, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "97e120d49f81a695130846073c213ce3", "sha256": "5c7f8663156bd5ff3d9176952fa29d7c73b5d1d59226e861ae31ce20e9b1511b" }, "downloads": -1, "filename": "abp_blocklist_parser-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "97e120d49f81a695130846073c213ce3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 21250, "upload_time": "2019-02-13T01:10:51", "url": "https://files.pythonhosted.org/packages/f7/2c/cfe11b7651f4f1536f0d482f35d28a4ae04c48b54d5a638260189858a2dc/abp_blocklist_parser-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec422def903fe6f72cda9c14c1e3f09b", "sha256": "fa9a1538bacfa914caec464d39eb26a27ea424a77455db4249d946df196aba1a" }, "downloads": -1, "filename": "abp_blocklist_parser-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ec422def903fe6f72cda9c14c1e3f09b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9264, "upload_time": "2019-02-13T01:10:53", "url": "https://files.pythonhosted.org/packages/92/19/21b62fcd1dd616c79f687b9b568bc1fb947aa07c358bb007e69b3074bd2e/abp_blocklist_parser-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d2ad0f6be80727d1efd5f353c474d852", "sha256": "1d0d769ca95bed9b3becbf58727006867f9208e7c9248c46e207f1fed63c0faf" }, "downloads": -1, "filename": "abp-blocklist-parser-0.2.tar.gz", "has_sig": false, "md5_digest": "d2ad0f6be80727d1efd5f353c474d852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21360, "upload_time": "2019-02-13T01:10:55", "url": "https://files.pythonhosted.org/packages/17/5f/0fcfe0ce05b0f6fcc0d293e1cd941dfaefec1728613b09ffade428cb3ff1/abp-blocklist-parser-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97e120d49f81a695130846073c213ce3", "sha256": "5c7f8663156bd5ff3d9176952fa29d7c73b5d1d59226e861ae31ce20e9b1511b" }, "downloads": -1, "filename": "abp_blocklist_parser-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "97e120d49f81a695130846073c213ce3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 21250, "upload_time": "2019-02-13T01:10:51", "url": "https://files.pythonhosted.org/packages/f7/2c/cfe11b7651f4f1536f0d482f35d28a4ae04c48b54d5a638260189858a2dc/abp_blocklist_parser-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec422def903fe6f72cda9c14c1e3f09b", "sha256": "fa9a1538bacfa914caec464d39eb26a27ea424a77455db4249d946df196aba1a" }, "downloads": -1, "filename": "abp_blocklist_parser-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ec422def903fe6f72cda9c14c1e3f09b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9264, "upload_time": "2019-02-13T01:10:53", "url": "https://files.pythonhosted.org/packages/92/19/21b62fcd1dd616c79f687b9b568bc1fb947aa07c358bb007e69b3074bd2e/abp_blocklist_parser-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d2ad0f6be80727d1efd5f353c474d852", "sha256": "1d0d769ca95bed9b3becbf58727006867f9208e7c9248c46e207f1fed63c0faf" }, "downloads": -1, "filename": "abp-blocklist-parser-0.2.tar.gz", "has_sig": false, "md5_digest": "d2ad0f6be80727d1efd5f353c474d852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21360, "upload_time": "2019-02-13T01:10:55", "url": "https://files.pythonhosted.org/packages/17/5f/0fcfe0ce05b0f6fcc0d293e1cd941dfaefec1728613b09ffade428cb3ff1/abp-blocklist-parser-0.2.tar.gz" } ] }