Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
SpammCan-0.2b.tar.bz2 (136.9 kB) Copy SHA256 Checksum SHA256 Source Oct 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting