{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/5"},{"label":"Communications","url":"https://skillfed.io/packages/category/communications"},{"label":"Other/Nonlisted Topic","url":"https://skillfed.io/packages/category/other-nonlisted-topic"}],"enrichment":{"capability":"A Django template tag that converts CSS blocks into inline style attributes on HTML elements, typically used to prepare HTML for email delivery where external stylesheets are not supported.","skillfed_tags":["email-templating","django-extension"],"use_cases":["Preparing transactional email templates in Django where inline CSS is required for consistent rendering across email clients","Converting Django-templated HTML with CSS blocks into email-safe HTML for sending via SMTP","Building email notification systems that need styled HTML without relying on external stylesheet delivery","Inlining styles for HTML content that will be rendered in environments that strip external CSS links"],"what_it_does":"django-premailer is a Django template tag wrapper around the premailer library that converts CSS rules into inline style attributes on HTML elements. It is primarily designed for preparing HTML emails, where external stylesheets cannot be reliably loaded by mail clients. You load the tag in a template, wrap HTML content and CSS rules in the premailer block, and the tag outputs HTML with styles moved from the CSS block into inline style attributes on matching elements.\n\nThe package has no runtime dependencies and installs cleanly. However, it has been dormant since 2016 with no active maintenance, meaning it may not be tested or compatible with modern Django versions or Python releases. The underlying premailer library is a separate dependency that you will need to install separately to use this tag.","worth_installing":"Yes, if you are using an older Django version (1.6\u20131.9 range) and need inline CSS for email templates. No, if you are on a modern Django release\u2014the package is unmaintained since 2016 and classifiers only list support through Django 1.9 and Python 3.5. Consider alternatives or verify compatibility with your Django version before committing to this package."},"id":"django-premailer","links":{"html":"https://skillfed.io/packages/django-premailer","md":"https://skillfed.io/packages/django-premailer.md","pypi":"https://pypi.org/project/django-premailer/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2016-06-20","license_spdx":null,"license_treatment":"permissive","name":"django-premailer","python_support":"unspecified","summary":"Django template tag that turns CSS blocks into style attributes using premailer."},"popularity":{"monthly_downloads":211839,"position":9471,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.0"}
