bud.nospam-1.0.1
توضیحات
ROT 13 encrypt text to prevent spam
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bud.nospam-1.0.1 |
| نام | bud.nospam |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kevin Teague |
| ایمیل نویسنده | kevin@bud.ca |
| آدرس صفحه اصلی | UNKNOWN |
| آدرس اینترنتی | https://pypi.org/project/bud.nospam/ |
| مجوز | BSD |
Overview
========
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.
Usage
=====
This package provides three simple functions::
bud.nospam.rot_13_encrypt('some text')
bud.nospam.js_obfuscated_text('someemail@example.com')
bud.nospam.js_obfuscated_mailto('someemail@example.com','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.
Credit
======
This package was inspired by the TextMate ROT13 function, see
`the original TextMate blog post
<http://blog.macromates.com/2006/obfuscating-email-addresses/>`_ for
further discussion.
Code
====
The latest version is available in a `Mercurial repository
<http://tripbagger.com/hg.repo/bud.nospam/>`_. Clone a copy with::
hg clone http://tripbagger.com/hg.repo/bud.nospam/
Changelog
=========
1.0.1 02-24-2009
----------------
* Fix initial release, was missing HISTORY.txt.
1.0 - 02-24-2009
----------------
* Initial release
نحوه نصب
نصب پکیج whl bud.nospam-1.0.1:
pip install bud.nospam-1.0.1.whl
نصب پکیج tar.gz bud.nospam-1.0.1:
pip install bud.nospam-1.0.1.tar.gz