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.1dev-b.tar.gz (1.2 kB view details)

Uploaded Source

File details

Details for the file python-premailer-0.1dev-b.tar.gz.

File metadata

File hashes

Hashes for python-premailer-0.1dev-b.tar.gz
Algorithm Hash digest
SHA256 af63a1af3a3b3c1096a05048413b889ee1fdea6ab46de718ece542157a46d620
MD5 e874a63095523f964a93664d7c5b37b0
BLAKE2b-256 d6574d0d01ad881df28dac5caf4b7a6129cde1420a9db53ab815607156c50b2a

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