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!

ROT 13 encrypt text to prevent spam

Project Description


This package provides a function for ROT 13 encoding text to make it email address displayed on the web harder to automatically harvest by spammers.


This package provides three simple functions:

bud.nospam.rot_13_encrypt('some text')
bud.nospam.js_obfuscated_mailto('','Some Name')

Typically you will pass a string to the js_obfuscated_text() function, and insert the output into a web page. This function will ROT 13 encrypt the text, and embedd it with the necessary Javascript to decrypt the text.

The js_obfuscated_mailto() is a convenience method for wrapping the text in an anchor tag with a mailto: attribute.


This package was inspired by the TextMate ROT13 function, see the original TextMate blog post for further discussion.


The latest version is available in a Mercurial repository. Clone a copy with:

hg clone


1.0.1 02-24-2009

  • Fix initial release, was missing HISTORY.txt.

1.0 - 02-24-2009

  • Initial release

Release History

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
(3.3 kB) Copy SHA256 Hash SHA256
Source None Feb 24, 2009

Supported By

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 Google Google Cloud Servers