abpy Python parser/interpreter for Adblock Plus filter format from abpy import Filter f = Filter(file('easylist.txt')) f.match(url)