Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Release history Release notifications

This version
History Node


History Node


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
SpammCan-0.2b.tar.bz2 (136.9 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2015

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