{ "info": { "author": "Grant Jenks", "author_email": "contact@grantjenks.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "Python Templates\n================\n\n`Python Templates`_ is an Apache2 licensed `html templating`_ library, written\nin pure-Python, including popular HTML templates like `Bootstrap`_.\n\n.. _`Python Templates`: http://www.grantjenks.com/docs/templates/\n.. _`html templating`: http://www.grantjenks.com/docs/templates/\n.. _`Bootstrap`: https://getbootstrap.com/\n\nTODO\n----\n\n`Python Templates`_ is a work-in-progress.\n\n* Improve semantic components?\n\n * What should be a function vs class? Currently, it's mostly just inheritance\n with methods. That feels basic to me. At the other extreme is an\n element-tree api with visitor pattern. I think the significance of this\n project is finding the balance between those too.\n\n * This project seems to go against \"flat is better than nested\". But I like\n the idea of using regular Python for template features like: if-statements,\n for-loops, and inheritance.\n\n* Add more front-end frameworks.\n\n * Reference: https://github.com/troxler/awesome-css-frameworks\n\n * Normalize.css\n\n * Pure.css\n\n * Milligram.css\n\n * Bootstrap, add more examples.\n\n * Semantic UI\n\n * Foundation\n\n * Bulma\n\n * UIkit\n\n * Materialize\n\n* Demo project ideas:\n\n * Link shortener\n\n * E-commerce page\n\n * Blog\n\n* Include images, fonts, icons?\n\n* See also:\n\n * Dominate: https://github.com/Knio/dominate\n\nTestimonials\n------------\n\nDoes your company or website use `Python Templates`_? Send us a `message\n`_ and let us know.\n\nFeatures\n--------\n\n- Pure-Python\n- Popular HTML templates included!\n\nQuickstart\n----------\n\nInstalling `Python Templates`_ is simple with `pip\n`_::\n\n $ pip install templates\n\nYou can access documentation in the interpreter with Python's built-in `help`\nfunction. The `help` works on modules, classes and methods in `Python Templates`_.\n\n.. code-block:: python\n\n >>> import templates\n >>> help(templates)\n >>> from templates import bootstrap\n >>> help(bootstrap)\n >>> help(bootstrap.Starter)\n >>> help(bootstrap.Jumbotron)\n\nThere's also a demo which you can run using `bottle`_::\n\n $ pip install bottle\n $ python -m templates.demo\n\n.. _`bottle`: https://bottlepy.org/\n\nUseful Links\n------------\n\n- `Python Templates Documentation`_\n- `Python Templates at PyPI`_\n- `Python Templates at Github`_\n- `Python Templates Issue Tracker`_\n\n.. _`Python Templates Documentation`: http://www.grantjenks.com/docs/templates/\n.. _`Python Templates at PyPI`: https://pypi.org/project/templates/\n.. _`Python Templates at Github`: https://github.com/grantjenks/python-templates\n.. _`Python Templates Issue Tracker`: https://github.com/grantjenks/python-templates/issues\n\nPython Templates License\n------------------------\n\nCopyright 2018 Grant Jenks\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.grantjenks.com/docs/templates/", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "templates", "package_url": "https://pypi.org/project/templates/", "platform": "", "project_url": "https://pypi.org/project/templates/", "project_urls": { "Homepage": "http://www.grantjenks.com/docs/templates/" }, "release_url": "https://pypi.org/project/templates/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "Python templating library with templates included.", "version": "0.0.5" }, "last_serial": 4086886, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "7199c20b61a75ec657a12c2c564a72eb", "sha256": "98cee743af9b212d2d3db35d061b9ae633c4a20bb945880deab25d424aa140b2" }, "downloads": -1, "filename": "templates-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7199c20b61a75ec657a12c2c564a72eb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 68819, "upload_time": "2018-06-01T06:20:22", "url": "https://files.pythonhosted.org/packages/15/2c/cf47f263554b7baafef85e9a1c4ca58fb97a59c659f9858f9466b6262830/templates-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f23ee45b66662d51ee113dc5eb36898", "sha256": "33427230f6fb25369c087b8a51dc8a9e3ea7b3f5d42614f7c0fd97b010b0c2ff" }, "downloads": -1, "filename": "templates-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6f23ee45b66662d51ee113dc5eb36898", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68280, "upload_time": "2018-06-01T06:20:24", "url": "https://files.pythonhosted.org/packages/dd/62/e76f89b115b700ba149b8c9552e493110bdf9a575978c41507b3c6d961d9/templates-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "99d4c605833a0c60c5c403bbfa73840a", "sha256": "b5d4e6e14222be9f364544c542b788170d8923d0ec5eaf6f18f33f3b145fa9c4" }, "downloads": -1, "filename": "templates-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "99d4c605833a0c60c5c403bbfa73840a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 69928, "upload_time": "2018-06-01T19:22:33", "url": "https://files.pythonhosted.org/packages/cd/c6/68576dcd62d2a25472aa2ac58f408cda8d9ec47044199274962ea2c08d49/templates-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c6fb491b036232bc914353e2852c82f", "sha256": "130ad71ba2b8c83327a0681a66398e97c1445a089aa5a8fe890cfe346ecbf6d2" }, "downloads": -1, "filename": "templates-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1c6fb491b036232bc914353e2852c82f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 69991, "upload_time": "2018-06-01T19:22:35", "url": "https://files.pythonhosted.org/packages/5d/82/6cfc542ecc47d8f2cf4c6273f9650c454ce074d69feba98ef5499f0acadd/templates-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "717f5df200eba00834f5e721d3e35f54", "sha256": "5a0e00ee4884d5c1419afb3821437a3e3a849c7c12523886a15eb90e5d5ad20e" }, "downloads": -1, "filename": "templates-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "717f5df200eba00834f5e721d3e35f54", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 73544, "upload_time": "2018-07-20T19:52:18", "url": "https://files.pythonhosted.org/packages/39/91/0fc9774f514285a8fafc5a43715e3027997ccea60886faae28052c4fb0ff/templates-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a072f6383be22ff599586142b25c3178", "sha256": "3465eb4cb0d43f236178b123b9a6005c7b78415c7bc65c7fb5568bf6bf4dc8cf" }, "downloads": -1, "filename": "templates-0.0.5.tar.gz", "has_sig": false, "md5_digest": "a072f6383be22ff599586142b25c3178", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 72776, "upload_time": "2018-07-20T19:52:19", "url": "https://files.pythonhosted.org/packages/59/ab/652b095810cca1e2da1c97638c91e654462a83c838c264ca409378bc0bd9/templates-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "717f5df200eba00834f5e721d3e35f54", "sha256": "5a0e00ee4884d5c1419afb3821437a3e3a849c7c12523886a15eb90e5d5ad20e" }, "downloads": -1, "filename": "templates-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "717f5df200eba00834f5e721d3e35f54", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 73544, "upload_time": "2018-07-20T19:52:18", "url": "https://files.pythonhosted.org/packages/39/91/0fc9774f514285a8fafc5a43715e3027997ccea60886faae28052c4fb0ff/templates-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a072f6383be22ff599586142b25c3178", "sha256": "3465eb4cb0d43f236178b123b9a6005c7b78415c7bc65c7fb5568bf6bf4dc8cf" }, "downloads": -1, "filename": "templates-0.0.5.tar.gz", "has_sig": false, "md5_digest": "a072f6383be22ff599586142b25c3178", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 72776, "upload_time": "2018-07-20T19:52:19", "url": "https://files.pythonhosted.org/packages/59/ab/652b095810cca1e2da1c97638c91e654462a83c838c264ca409378bc0bd9/templates-0.0.5.tar.gz" } ] }