{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"}],"enrichment":{"capability":"DocumentTemplate implements the Document Templating Markup Language (DTML), a legacy template system using custom SGML tags for variable replacement, conditional logic, and loops in Zope environments.","skillfed_tags":["legacy-zope","dtml-templates","restricted-execution"],"use_cases":["Maintaining or extending legacy Zope applications that use DTML templates for dynamic page generation.","Rendering HTML or SQL templates with variable substitution and conditional logic in Zope-based systems.","Processing DTML documents that require restricted execution contexts for security-sensitive applications.","Migrating or refactoring older Zope codebases while preserving existing DTML template functionality."],"what_it_does":"DocumentTemplate is a legacy templating system from the Zope framework that processes DTML (Document Templating Markup Language)\u2014a custom SGML-based markup for embedding dynamic content in HTML and SQL templates. It provides variable substitution, conditional blocks, loops, and other programmatic features through custom tags like `<dtml-var>`, `<dtml-if>`, and `<dtml-in>`.\n\nThe package is now primarily maintained for backward compatibility with existing Zope applications. Modern Zope environments have largely moved to TAL (Template Attribute Language) and page templates for new development. It depends on Zope security and object-access infrastructure (AccessControl, Acquisition, RestrictedPython) and integrates with zope.sequencesort for sorting operations. The implementation is pure Python as of version 3.0, with no compiled dependencies.","worth_installing":"Yes, but only if you are maintaining or extending an existing Zope application that uses DTML. Do not install for new projects\u2014use modern templating systems instead. The package is actively maintained, has no known vulnerabilities, and installs with low friction. License treatment is unclear; verify ZPL-2.1 compliance for your use case before deployment."},"id":"documenttemplate","links":{"html":"https://skillfed.io/packages/documenttemplate","md":"https://skillfed.io/packages/documenttemplate.md","pypi":"https://pypi.org/project/documenttemplate/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-25","license_spdx":"ZPL-2.1","license_treatment":"unclear","name":"DocumentTemplate","python_support":"supports_current","summary":"Document Templating Markup Language (DTML)"},"popularity":{"monthly_downloads":136830,"position":11386,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.3"}
