{ "info": { "author": "Chris McDonough / Agendaless Consulting", "author_email": "repoze-dev@lists.repoze.org", "bugtrack_url": null, "classifiers": [ "Framework :: BFG", "Intended Audience :: Developers", "License :: Repoze Public License", "Programming Language :: Python" ], "description": "``repoze.bfg`` bindings for `Mako `_\n===================================================================\n\nThese are bindings for the `Mako templating system\n`_ for the `repoze.bfg\n\n\n#) Call the ``add_renderer`` method of a Configurator in your\n application:\n\n from repoze.bfg.mako import renderer_factory\n config.add_renderer(.'mak', renderer_factory)\n config.add_renderer(.'mako', renderer_factory)\n\nIn either case, files with the ``.mak`` and ``.mako`` extensions are\nnow considered to be Mako templates.\n\nNote that when mako is used as a ``renderer`` in this fashion, the\n``repoze.bfg`` context that is usually available as ``context`` within\nthe template global namespace is available as ``_context`` (the\n``context`` name without the underscore is reserved for internal Mako\nusage).\n\nInstallation\n------------\n\nInstall using setuptools, e.g. (within a virtualenv)::\n\n $ easy_install -i http://dist.repoze.org/bfg/dev/simple repoze.bfg.mako\n\nCreating a Mako ``repoze.bfg`` Project\n--------------------------------------\n\nAfter you've got ``repoze.bfg.mako`` installed, you can invoke the\nfollowing command to create a Mako-based ``repoze.bfg`` project::\n\n $ paster create -t bin/paster create -t bfg_mako_starter\n\nReporting Bugs / Development Versions\n-------------------------------------\n\nVisit http://bugs.repoze.org to report bugs. Visit\nhttp://svn.repoze.org to download development or tagged versions.\n\n\n\n\n0.3 (2010-09-19)\n----------------\n\n- A ``repoze.bfg.mako`` renderer may now be called with a *tuple*,\n consisting of two values in the form ``(function_name, values)``.\n If a tuple is provided to a renderer, the ``def`` named after\n ``function_name`` in the template is rendered instead of the entire\n template using the ``values`` provided, which must be a dictionary).\n\n0.2 (2010-09-06)\n----------------\n\n- Removed ``repoze.bfg.mako`` functions named ``render_template``,\n ``render_template_to_response``, ``get_template`` and\n ``get_renderer``. As of ``repoze.bfg`` 1.3a6, use of these\n functions should be replaced with usage of similarly-named functions\n present in the ``repoze.bfg.renderers`` module .\n\n- Added integration tests for imperative rendering and ZCML loading.\n\n0.1 (2010-07-24)\n----------------\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.repoze.org", "keywords": "web wsgi zope", "license": "BSD-derived (http://www.repoze.org/LICENSE.txt)", "maintainer": null, "maintainer_email": null, "name": "repoze.bfg.mako", "package_url": "https://pypi.org/project/repoze.bfg.mako/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/repoze.bfg.mako/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.repoze.org" }, "release_url": "https://pypi.org/project/repoze.bfg.mako/0.3/", "requires_dist": null, "requires_python": null, "summary": "Mako template bindings for repoze.bfg", "version": "0.3" }, "last_serial": 798796, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "fa04c8b0e211ce9b4008ef6c587eb479", "sha256": "14fe3454794b170732bcfe3b46e41ef64850194036a54ab8d96239a3806c415d" }, "downloads": -1, "filename": "repoze.bfg.mako-0.1.tar.gz", "has_sig": false, "md5_digest": "fa04c8b0e211ce9b4008ef6c587eb479", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24981, "upload_time": "2010-07-24T06:55:39", "url": "https://files.pythonhosted.org/packages/bf/3e/f8a1422cea940a488d76370c5347ced3816f85eae2d0d7f13c18c67f54b3/repoze.bfg.mako-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "ad520f626683a8a48131651c636b513a", "sha256": "bbc5f6fa14ac1434221a349cab843191f0f6fe0b664ecad5da6ecf76b3ada90d" }, "downloads": -1, "filename": "repoze.bfg.mako-0.2.tar.gz", "has_sig": false, "md5_digest": "ad520f626683a8a48131651c636b513a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24863, "upload_time": "2010-09-06T20:17:31", "url": "https://files.pythonhosted.org/packages/c3/b6/33411ddf679c78a1bc14ade0e5d01857adb90fac92e4894066fe4c8c1d04/repoze.bfg.mako-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "4986b703672ee4afe9d64545d79ba1b0", "sha256": "197cd93939a494aa4b5a6c390f652209e334315e97c7b69daa77facce338fb8a" }, "downloads": -1, "filename": "repoze.bfg.mako-0.3.tar.gz", "has_sig": false, "md5_digest": "4986b703672ee4afe9d64545d79ba1b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25347, "upload_time": "2010-09-19T15:57:51", "url": "https://files.pythonhosted.org/packages/56/b0/5a5343b1ce67e3b7da9b4caa0508bbcb286e6a08803888f334a9567bc4e5/repoze.bfg.mako-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4986b703672ee4afe9d64545d79ba1b0", "sha256": "197cd93939a494aa4b5a6c390f652209e334315e97c7b69daa77facce338fb8a" }, "downloads": -1, "filename": "repoze.bfg.mako-0.3.tar.gz", "has_sig": false, "md5_digest": "4986b703672ee4afe9d64545d79ba1b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25347, "upload_time": "2010-09-19T15:57:51", "url": "https://files.pythonhosted.org/packages/56/b0/5a5343b1ce67e3b7da9b4caa0508bbcb286e6a08803888f334a9567bc4e5/repoze.bfg.mako-0.3.tar.gz" } ] }