{"id":24027,"library":"meld3","title":"meld3","description":"Unmaintained templating system used by old versions of Supervisor. Current version is 2.0.1. No recent releases; the project is effectively deprecated.","status":"deprecated","version":"2.0.1","language":"python","source_language":"en","source_url":"https://github.com/supervisor/meld3","tags":["templating","xml","deprecated","supervisor"],"install":[{"cmd":"pip install meld3","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Generally used as a direct import to avoid namespace confusion.","wrong":"import meld3; meld3.parse_xml","symbol":"parse_xml","correct":"from meld3 import parse_xml"}],"quickstart":{"code":"from meld3 import parse_xml\ntemplate = '<html xmlns:py=\"http://genshi.edgewall.org/\"><body><h1 py:content=\"title\">Title</h1></body></html>'\ntree = parse_xml(template)\ntree.expand({'title': 'Hello, World!'})\nresult = tree.write()\nprint(result)","lang":"python","description":"Parse an XML template with Genshi-like directives and render it with context data."},"warnings":[{"fix":"Replace with Jinja2 or another modern templating engine.","message":"meld3 is effectively unmaintained and deprecated. It is only used internally by old versions of Supervisor. Consider switching to alternatives like Jinja2 or Tempita.","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Use only the documented directives: py:content, py:attrs, py:replace, py:if, py:for, py:strip.","message":"meld3 parses XML templates and uses Genshi-like attribute directives (py:attrs, py:content, etc.). It does NOT support Genshi's full syntax; only a limited subset.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install meld3`","cause":"meld3 is not installed, or trying to import from a virtual environment where pip install did not run.","error":"ModuleNotFoundError: No module named 'meld3'"},{"fix":"Use `from meld3 import parse_xml` instead.","cause":"Old code using import meld3 and calling meld3.parse_xml, but parse_xml is a top-level function.","error":"AttributeError: module 'meld3' has no attribute 'parse_xml'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}