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']

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
surblclient-0.1.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Feb 22, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page