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

Uploaded Source

File details

Details for the file python-premailer-0.1deva.tar.gz.

File metadata

File hashes

Hashes for python-premailer-0.1deva.tar.gz
Algorithm Hash digest
SHA256 69f8393244aad2dada00dccd77648f19ce4ad1b9c52a3c4d90e47cc6b529ba41
MD5 b1dd153399ff2b41ef927603980707f8
BLAKE2b-256 f5043594f551e53b6729a959899b18cadc8d497d940ac6ea491d55777b0461e1

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