Skip to content
Wrapper around the postmark SpamAssassin API
Find file
Latest commit 0e95f51 @orenmazor Merge pull request #1 from mgrouchy/master
+1 to Mike's "Smug"
Failed to load latest commit information.
spamcheck PEP8ified. :)
.gitignore remove pyc files renamed readme file added proper Readme


You'll need a copy of Requests, which is fantastic:, and a moderately recent version of python (at least above 2.5)


from spamcheck import spamcheck

create an instance:

spamchecker = spamcheck.SpamCheck()

now have some fun:



Error Handling

  • Requests will throw an HTTPError on all status codes other than OK. these are propagated to you, brave adventurer.
  • The above library will throw a general Exception in any situation where SpamCheck returns an error. The message of the exception will be the error.
Something went wrong with that request. Please try again.