Skip to main content

A simple pastbin built on TurboGears and Pygments.

Project description

General Information

SpammCan is yet another pastbin web application. It distinguishes itself from its competitors by the following features:

  • Has syntax highlighting support for over 100 languages thanks to the use of Pygments.

  • Is easy to install thanks to setuptools.

  • Uses large, random GUIDs for paste entries in its URLs instead of sequential paste numbers to discourage spammers.

    Also detects and rejects spamming attempts with the help of a SpamBayes filter.

  • Is built on TurboGears 1.1, Genshi, and SQLAlchemy.

  • Uses a SQLite database by default, but can use any database system supported by SQLAlchemy and TurboGears.

Getting the Code

You can run your own SpammCan server! For more information, downloads, and source code, visit the project home page at

You can also install SpammCan via its Python Package Index (aka Cheeseshop) entry:

$ [sudo] easy_install SpammCan

Finally, if you want the latest development code for SpammCan, you can check it out from the Subversion repository:

$ svn co svn:// SpammCan

Project details

Download files

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

Files for SpammCan, version 0.2b
Filename, size File type Python version Upload date Hashes
Filename, size SpammCan-0.2b.tar.bz2 (136.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page