Python模板引擎pypage.zip

时间:2022-08-05 00:53:28
【文件属性】:
文件名称:Python模板引擎pypage.zip
文件大小:38KB
文件格式:ZIP
更新时间:2022-08-05 00:53:28
开源项目 pypage 是一个轻量级的 Python 模板引擎。 示例模板:   {% for user in users %}     
  •       {{ user.name }}     
  •   {% endfor %} 标签:pypage
    【文件预览】:
    pypage-master
    ----.travis.yml(527B)
    ----README.rst(14B)
    ----pypage.py(28KB)
    ----docs()
    --------conf.py(10KB)
    --------index.rst(13KB)
    ----tests()
    --------While-Loop-Test-2.in.txt(165B)
    --------Injection-Test-1A-Actual.out.txt(163B)
    --------Exception-MismatchingIndentation.in.txt(206B)
    --------Injection-Test-1B-Actual.out.txt(133B)
    --------Conditional-For-Loop-Comment-Test.out.txt(85B)
    --------Include-Stub.txt(9B)
    --------Exception-IncompleteTagNode.in.txt(31B)
    --------For-Loop-Test-0-Empty.out.txt(75B)
    --------For-Loop-Test-4-Letter-Template.out.txt(302B)
    --------For-Loop-Test-1-Colors.out.html(244B)
    --------Conditional-For-Loop-Comment-Test.in.txt(313B)
    --------Exception-ElifOrElseWithoutIf.in.txt(0B)
    --------Exception-MismatchingEndBlockTag.err.txt(161B)
    --------Injection-Test-1B-Actual.in.txt(121B)
    --------Exception-UnboundEndBlockTag.err.txt(64B)
    --------Injection-Test-1-Skeleton.html(185B)
    --------Exception-UnknownTag.in.txt(35B)
    --------Exception-MismatchingEndBlockTag.in.txt(86B)
    --------Exception-ExpressionProhibited.in.txt(0B)
    --------Exception-MultiLineBlockTag.err.txt(144B)
    --------Injection-Test-1A-Actual.in.txt(180B)
    --------For-Loop-Test-2-Squares.out.html(1KB)
    --------Exception-ExpressionMissing.in.txt(0B)
    --------Empty-File.in.txt(0B)
    --------Exception-IncompleteTagNode.err.txt(73B)
    --------For-Loop-Test-0-Empty.in.txt(155B)
    --------Include-Test.in.txt(50B)
    --------For-Loop-Test-4-Letter-Template.in.txt(355B)
    --------Include-Test.out.txt(20B)
    --------Conditional-Test-Greeting-Template.txt(281B)
    --------Exception-UnclosedTag.in.txt(138B)
    --------While-Loop-Test-2.out.txt(119B)
    --------tests.json(111B)
    --------Exception-UnclosedTag.err.txt(99B)
    --------While-Loop-Test-1.out.txt(22B)
    --------For-Loop-Test-2-Squares.in.html(433B)
    --------Exception-IncorrectForTag.in.txt(0B)
    --------Exception-UnknownTag.err.txt(59B)
    --------For-Loop-Test-1-Colors.in.html(327B)
    --------Exception-InvalidCaptureBlockVariableName.in.txt(61B)
    --------For-Loop-Test-3-Letter.out.txt(293B)
    --------Exception-UnboundEndBlockTag.in.txt(25B)
    --------Exception-MismatchingIndentation.err.txt(221B)
    --------Exception-InvalidCaptureBlockVariableName.err.txt(83B)
    --------Exception-MultiLineBlockTag.in.txt(55B)
    --------While-Loop-Test-1.in.txt(79B)
    --------For-Loop-Test-3-Letter.in.txt(401B)
    ----setup.py(2KB)
    ----.gitignore(2KB)
    ----Todo.md(1KB)
    ----LICENSE.txt(11KB)

    网友评论