Skip to main content

Simple client library for the surbl.org blacklists

Project description

SURBL checker (http://www.surbl.org/)

Example usage::

>>> from surblclient import surbl
>>> domain = "foo.bar.test.surbl.org"
>>> domain in surbl
True
>>> surbl.lookup(domain)
('test.surbl.org', ['sc', 'ws', 'ph', 'ob', 'ab', 'jp'])
>>> if domain in surbl:
...     print "%s blacklisted in %s" % surbl.lookup(domain)
...
test.surbl.org blacklisted in ['sc', 'ws', 'ph', 'ob', 'ab', 'jp']

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page