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 | RSS feed

This version

0.1

Download files

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

Source Distribution

surblclient-0.1.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file surblclient-0.1.tar.gz.

File metadata

  • Download URL: surblclient-0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for surblclient-0.1.tar.gz
Algorithm Hash digest
SHA256 3314f840708079da49ba6690c8af466aa28b68c2d9e4842879552be9d84c1d19
MD5 0718a9e4c666a4bd5944403c22c11dbe
BLAKE2b-256 52cef17abce721a4bcde23c761fbbbf4bc32d5ed846df301a292e5e4692ba1c5

See more details on using hashes here.

Supported by

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