{"adoption": {"forks": 185, "observed_at": "2026-08-28T04:03:31.335744+00:00", "stars": 1083}, "canonical_url": "https://ross.abutalabs.com/products/peterbe-premailer", "card": {"archived": false, "artifact_type": "library", "description": "Turns CSS blocks into style attributes", "domain": ["email", "web-development", "frontend"], "enriched": true, "function": ["templating", "email", "parser"], "health_score": 20, "homepage": "https://premailer.io", "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["peterbe/premailer"], "name": "peterbe/premailer", "platform": ["python", "cross-platform"], "pushed_at": "2023-12-16T17:54:12+00:00", "repo": "peterbe/premailer", "stars": 1083, "tags": ["css-inlining", "html-email", "lxml"], "topics": [], "urls": [], "use_cases": ["inline css for html emails", "convert style tags to style attributes", "prepare email templates for outlook and gmail", "make html newsletters email-client compatible", "inline external stylesheets in html", "remove class attributes after inlining css"], "what_it_is": "A Python library that transforms HTML email markup by converting <style> blocks and external stylesheets into inline style attributes on each element. It uses lxml to parse and modify the DOM, with options for handling pseudo-classes, external CSS, and email-client quirks.", "when_to_avoid": ["styling regular web pages rather than emails", "you need a maintained project with recent releases", "non-Python stacks (use a Node or Ruby equivalent instead)"], "when_to_choose": ["sending HTML emails where <style> tags are unsupported", "automating email template preprocessing in Python", "needing fine-grained control over CSS inlining behavior"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/peterbe-premailer", "repo": "peterbe/premailer", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:31.335744+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:51:11.829248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0186f05d131455852c57ab328fa02a2cfb2fba30a71e7ec722a7ca2d04ee04df", "fetched_at": "2026-08-28T04:03:31.335744+00:00", "kind": "readme", "missing": false, "url": "https://github.com/peterbe/premailer"}, {"content_hash": "dd9498d22b858a2ca6950a342646b016235d0f8eee8feeab6edb4495bc18eae8", "fetched_at": "2026-08-29T12:53:30.746628+00:00", "kind": "homepage", "missing": false, "url": "https://premailer.io"}, {"content_hash": "cc3d2660430657e096aa63b231311228069f10082f1815300664e1eb43b5184f", "fetched_at": "2026-08-29T12:53:30.755800+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/premailer/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6258, "days_push": 991, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}