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 for further discussion.
Code
The latest version is available in a Mercurial repository. 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
Metadata
Release files for bud.nospam 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bud.nospam-1.0.1.tar.gz | 3.3 kB | Without provenance | Details for bud.nospam-1.0.1.tar.gz |
Release files / bud.nospam-1.0.1.tar.gz
| Download URL | bud.nospam-1.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2da38f3d17a049faf3f79419fadb8de9d4a9528fb2faa94347e12258de8f81a
|
|
BLAKE2b-256 checksum How to use checksums |
9189b95112ad454013f3830993ab6e7aa9062b1cbed24c2a8f775df0dfb10a8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bud.nospam 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.