Skip to main content

Prepare HTML for email; embedd CSS to inline.

Project description

python-premailer converts HTML with style tags into HTML with inline style attributes; gmail won’t render nice without it!

I made it so I could send colorized git diffs of func-inventory around…

Excuses, excuses

This definitely already exists in pypi under the name ‘premailer’, but I wanted to reimplement it without the use of lxml.

Check it out! http://pypi.python.org/pypi/premailer

Inspired by

Emogrifier (php): http://www.pelagodesign.com/sidecar/emogrifier/

Premailer (ruby): http://premailer.dialect.ca/

Project details


Download files

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

Source Distribution

python-premailer-0.2dev.tar.gz (1.2 kB view details)

Uploaded Source

File details

Details for the file python-premailer-0.2dev.tar.gz.

File metadata

File hashes

Hashes for python-premailer-0.2dev.tar.gz
Algorithm Hash digest
SHA256 79640913e81073b1ee7281b59d70da15f2847ecacb8e095b42c7a7c6b1c7f005
MD5 b7243f725d69eaa914d82d115c2bce64
BLAKE2b-256 a637e151703c31819c02da79a5790f949f99e1a26728d9c7595dbed662c3a0d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page