タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

pythonとtemplateに関するkk6のブックマーク (2)

  • Genshi

    Genshi Python toolkit for generation of output for the web Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. The main feature is a template language that is smart about markup: unlike conventional template languages that only deal with bytes and (if you're lucky) char

  • Jinja2 ドキュメント日本語訳

    Jinja2へようこそ¶ Jinja2はモダンでデザイナーも扱いやすいPython用テンプレート言語です。 Djangoテンプレートの後発として設計されました。動作が速く、広い用途に対応し、 サンドボックス的なテンプレート実行環境があるので安全です。 <title>{% block title %}{% endblock %}</title> <ul> {% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li> {% endfor %} </ul> 特徴 サンドボックス的な実行 XSS予防に強力な自動HTMLエスケープシステム テンプレート継承 ジャストインタイムなPythonコードへの補助的なコンパイル 補助的な事前のテンプレートコンパイル デバッグの容易さ。例外の行番号はテンプレート

  • 1