METADATA 2.8 KB

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