Observed since 20 Oct, 17:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
abp-blocklist-parser
Library for parsing ABP filter lists
Code to detect if a url matches any of the regexes in lists like ad block plus lists
In order to use it,
blocklist_parser = new BlockListParser(regex_file)
or
blocklist_parser = new BlockListParser(regexes) where regexes is comma separated list of regexes
Then to detect if something should be blocked,
blocklist_parser.should_block(ur, options) where options is a dictionary with keys like image, third-party, etc. (look at RegexParser.py for a list of options possible).
Also, use
blocklist_parser.should_block_with_items(url, options) to get the list of regexes which block a certain url
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 20.75 KB · Python py3
sdist · 20.77 KB · Python source
Shared repository data · GitHub
Observed since 20 Oct, 17:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:84e4fc3b4b191fc25f40f9809cf3613fd2d7bf6ca9de6489c90df3b0b04d6035