PKG-INFO 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Metadata-Version: 1.0
  2. Name: Mako
  3. Version: 0.7.2
  4. Summary: A super-fast templating language that borrows the best ideas from the existing templating languages.
  5. Home-page: http://www.makotemplates.org/
  6. Author: Mike Bayer
  7. Author-email: mike@zzzcomputing.com
  8. License: MIT
  9. Description: =========================
  10. Mako Templates for Python
  11. =========================
  12. Mako is a template library written in Python. It provides a familiar, non-XML
  13. syntax which compiles into Python modules for maximum performance. Mako's
  14. syntax and API borrows from the best ideas of many others, including Django
  15. templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
  16. Python (i.e. Python Server Page) language, which refines the familiar ideas
  17. of componentized layout and inheritance to produce one of the most
  18. straightforward and flexible models available, while also maintaining close
  19. ties to Python calling and scoping semantics.
  20. Nutshell
  21. ========
  22. ::
  23. <%inherit file="base.html"/>
  24. <%
  25. rows = [[v for v in range(0,10)] for row in range(0,10)]
  26. %>
  27. <table>
  28. % for row in rows:
  29. ${makerow(row)}
  30. % endfor
  31. </table>
  32. <%def name="makerow(row)">
  33. <tr>
  34. % for name in row:
  35. <td>${name}</td>\
  36. % endfor
  37. </tr>
  38. </%def>
  39. Philosophy
  40. ===========
  41. Python is a great scripting language. Don't reinvent the wheel...your templates can handle it !
  42. Documentation
  43. ==============
  44. See documentation for Mako at http://www.makotemplates.org/docs/
  45. License
  46. ========
  47. Mako is licensed under an MIT-style license (see LICENSE).
  48. Other incorporated projects may be licensed under different licenses.
  49. All licenses allow for non-commercial and commercial use.
  50. Keywords: templates
  51. Platform: UNKNOWN
  52. Classifier: Development Status :: 5 - Production/Stable
  53. Classifier: Environment :: Web Environment
  54. Classifier: Intended Audience :: Developers
  55. Classifier: Programming Language :: Python
  56. Classifier: Programming Language :: Python :: 3
  57. Classifier: Programming Language :: Python :: Implementation :: CPython
  58. Classifier: Programming Language :: Python :: Implementation :: PyPy
  59. Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content