{ "info": { "author": "Vahid Mardani", "author_email": "vahid.mardani@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: Freeware", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries" ], "description": ".. pymlconf documentation master file, created by\n Vahid Mardani on Sat Apr 14 05:05:05 2012.\n You can adapt this file completely to your liking, but it should at least\n contain the root `toctree` directive.\n\nCherrypy's Mako Plugin\n====================================\n\n``CherrypyMako`` is a cherrypy plugin that provides Mako template engine , within cherrypy as a tool.\n\nExample:\n\ndemo.py::\n\n\timport os.path\n\timport cherrypy\n\timport CherrypyMako\n\timport datetime\n\tCherrypyMako.setup()\n\troot_dir = os.path.abspath( os.path.dirname(__file__))\n\t \n\tclass Root(object):\n\t \n\t @cherrypy.expose\n\t @cherrypy.tools.mako(filename='index.html')\n\t def index(self):\n\t return {'currentTime':datetime.datetime.now()}\n\t\n\t \n\t_cp_config={\n\t 'global':{\n\t 'server.socket_host' : '0.0.0.0', \n\t 'server.socket_port' : 1919,\n\t 'tools.mako.directories' : [os.path.join(root_dir,'templates')],\n\t },\n\t}\n\t\n\tif __name__ == '__main__':\n\t cherrypy.quickstart(Root(), '', config=_cp_config)\n\nindex.html::\n\n\t\n\t\t\n\t\t\tCherrypy Mako Tool Demo\n\t\t\n\t\t\n\t\t\t${currentTime}\n\t\t\n\t", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://packages.python.org/cherrypymako", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "CherrypyMako", "package_url": "https://pypi.org/project/CherrypyMako/", "platform": "any", "project_url": "https://pypi.org/project/CherrypyMako/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://packages.python.org/cherrypymako" }, "release_url": "https://pypi.org/project/CherrypyMako/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "Mako tool for cherrypy", "version": "0.3.1" }, "last_serial": 783937, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "9daad240b188c5ec58daaeed43c6a79e", "sha256": "bd19bf41fec87b1f4d06d580a95baf916b2775b12cbddc2b95790c98aa1e950f" }, "downloads": -1, "filename": "CherrypyMako-0.3.tar.gz", "has_sig": false, "md5_digest": "9daad240b188c5ec58daaeed43c6a79e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2542, "upload_time": "2012-07-13T15:30:09", "url": "https://files.pythonhosted.org/packages/55/06/c6cc0955a2cfdf941b40d18ea805d8e5ce72697a7e877df6013fede7293c/CherrypyMako-0.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "b4967407e9537bd8c255bd3d280bb39d", "sha256": "c9cbd8dbe9a8fc8e6acbd1d23d8fd14bcd7012498f4d24d558712ed547b0ea3f" }, "downloads": -1, "filename": "CherrypyMako-0.3.zip", "has_sig": false, "md5_digest": "b4967407e9537bd8c255bd3d280bb39d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5539, "upload_time": "2012-07-13T15:30:13", "url": "https://files.pythonhosted.org/packages/17/0c/f228266e7e7ba4c33d9e71b0ce91b043e5f37584dad81a594fc0bdcf02ce/CherrypyMako-0.3.zip" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "991d81747cfd55f7b19080da3d867c72", "sha256": "ede396b8233c739d3dd455a9cf7d7a352e7e4cd517b8bd46fc3dc99813277a72" }, "downloads": -1, "filename": "CherrypyMako-0.3.1-py2.7.egg", "has_sig": true, "md5_digest": "991d81747cfd55f7b19080da3d867c72", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4148, "upload_time": "2012-12-24T22:49:41", "url": "https://files.pythonhosted.org/packages/b2/da/2d169b4006d6323c452f10427f805f0bb93c427cc64147a0880c291be054/CherrypyMako-0.3.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "27213b0d6a1801840b42b2ac9d2ef080", "sha256": "433bb9ff2558fe36bc4a51adeb739e6d6c2a61a86ec1d81fcd47e29928e88f2e" }, "downloads": -1, "filename": "CherrypyMako-0.3.1.tar.gz", "has_sig": true, "md5_digest": "27213b0d6a1801840b42b2ac9d2ef080", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2588, "upload_time": "2012-12-24T22:49:33", "url": "https://files.pythonhosted.org/packages/60/4d/a80f62ccd0b389c97792fadce6220a5810bd9ed15cde986275958fa7ff1e/CherrypyMako-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "991d81747cfd55f7b19080da3d867c72", "sha256": "ede396b8233c739d3dd455a9cf7d7a352e7e4cd517b8bd46fc3dc99813277a72" }, "downloads": -1, "filename": "CherrypyMako-0.3.1-py2.7.egg", "has_sig": true, "md5_digest": "991d81747cfd55f7b19080da3d867c72", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4148, "upload_time": "2012-12-24T22:49:41", "url": "https://files.pythonhosted.org/packages/b2/da/2d169b4006d6323c452f10427f805f0bb93c427cc64147a0880c291be054/CherrypyMako-0.3.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "27213b0d6a1801840b42b2ac9d2ef080", "sha256": "433bb9ff2558fe36bc4a51adeb739e6d6c2a61a86ec1d81fcd47e29928e88f2e" }, "downloads": -1, "filename": "CherrypyMako-0.3.1.tar.gz", "has_sig": true, "md5_digest": "27213b0d6a1801840b42b2ac9d2ef080", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2588, "upload_time": "2012-12-24T22:49:33", "url": "https://files.pythonhosted.org/packages/60/4d/a80f62ccd0b389c97792fadce6220a5810bd9ed15cde986275958fa7ff1e/CherrypyMako-0.3.1.tar.gz" } ] }