{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/5"}],"enrichment":{"capability":"Parses Adblock Plus filter rules and matches URLs against them to determine whether they should be blocked.","skillfed_tags":["adblock-filtering","url-matching","abandoned"],"use_cases":["Build a web scraper or crawler that respects Adblock Plus rules to avoid fetching blocked resources","Implement ad filtering in a browser extension or application using standard filter lists","Filter URLs in a content management system or proxy to block ads and trackers based on EasyList rules","Test URL filtering logic by programmatically checking whether specific URLs match filter rules","Load and apply custom Adblock Plus filters to control which domains or resources are accessible"],"what_it_does":"adblockparser is a Python library for parsing and applying Adblock Plus filter rules. It reads filter rules (either manually written or from sources like EasyList) and provides a method to check whether a given URL should be blocked according to those rules. The library handles both simple wildcard-style filters and more complex rules with options like domain-specific matching and script-type filtering.\n\nThe package creates large regex patterns internally to match filters efficiently. It optionally integrates with pyre2 for dramatic performance improvements\u2014potentially over 1000x faster for large filter lists. Without pyre2, it falls back to Python's standard re module. Rules with options are evaluated individually, which can be slower with thousands of such rules, but the library provides configuration options to optimize this scenario.","worth_installing":"No. The package is abandoned (last commit 2019, last release 2016) with no active maintenance. While it has low install friction and no security vulnerabilities, the lack of updates means it may not handle modern Adblock Plus syntax changes or work reliably on current Python versions. Use only if you have a legacy codebase already depending on it."},"id":"adblockparser","links":{"html":"https://skillfed.io/packages/adblockparser","md":"https://skillfed.io/packages/adblockparser.md","pypi":"https://pypi.org/project/adblockparser/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-10-17","license_spdx":null,"license_treatment":"permissive","name":"adblockparser","python_support":"unspecified","summary":"Parser for Adblock Plus rules"},"popularity":{"monthly_downloads":140832,"position":11263,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7"}
