{ "info": { "author": "Victor Lin", "author_email": "bornstub@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "pyramid_genshi\n==============\n\nBuild:\n\n.. image:: https://travis-ci.org/victorlin/pyramid_genshi.png?branch=master \n :target: https://travis-ci.org/victorlin/pyramid_genshi\n\nBindings for `Genshi `_ templating support under\n`Pyramid `_.\n\nTo use pyramid_genshi, simply include pyramid_genshi in your Pyramid main \nfunction::\n\n config.include('pyramid_genshi')\n \nAnd you can use it as you use other template::\n\n @view_config(route_name='home',\n renderer='my_project:templates/home.genshi')\n def home(request):\n return 'Hello world'\n \nSettings\n--------\n \nTo adjust output format, you can change `genshi.default_format` ::\n\n genshi.default_format = xhtml\n \nTo adjust output encoding, you can change `genshi.default_encoding` ::\n\n genshi.default_encoding = cp950\n \nTo adjust output doctype, you can change `genshi.default_doctype` ::\n\n genshi.default_doctype = html5\n \nTo adjust the default i18n domain, you can change `genshi.default_domain` ::\n\n genshi.default_domain = my_domain\n \nTo adjust template auto reloading, you can change `genshi.auto_reload` ::\n\n genshi.auto_reload = False\n \nFor available options, you can reference to \n``_\n\n\n0.2.1\n-----\n\n- Support include template by Pyramid asset path\n\n\n0.2.0\n-----\n\n- Support Pyramid 1.5\n- Stop supporting Pyramid before 1.3\n- Stop supporting text rendering for now, may be added back later\n\n\n0.1.3\n-----\n\n- Fix issue caused by Pyramid 1.4 macro argument to the template renderer\n\n0.1.2\n-----\n\n- Add genshi.auto_reload setting option, and make the default value as True\n\n0.1.1\n-----\n\n- Add genshi.default_encoding setting option\n- Add genshi.default_doctype setting option\n- Add genshi.default_format setting option (same as genshi.method in 0.1.0)\n\n0.1.0\n-----\n\n- Initial version", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/victorlin/pyramid_genshi", "keywords": "bfg pyramid pylons genshi templates", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyramid_genshi", "package_url": "https://pypi.org/project/pyramid_genshi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyramid_genshi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/victorlin/pyramid_genshi" }, "release_url": "https://pypi.org/project/pyramid_genshi/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Genshi template bindings for the Pyramid web framework", "version": "0.2.1" }, "last_serial": 1147715, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8358ff82c728f948c61bfa2b1e798510", "sha256": "dbc2b54840c6264990ce5d681dfc4c3006c050e86bb7070b06568087246a02b4" }, "downloads": -1, "filename": "pyramid_genshi-0.1.0.zip", "has_sig": false, "md5_digest": "8358ff82c728f948c61bfa2b1e798510", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12806, "upload_time": "2012-02-29T14:51:30", "url": "https://files.pythonhosted.org/packages/63/e1/20bc078ce35ba208ea913bb9bd199a871f0aa35b0ea72ce83f0f63361daa/pyramid_genshi-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "98390fffe0ca172e65f7394f0dd98b28", "sha256": "d341e61e440f92ad8abf2015410c0fe3cf28c13ed62e731199331175cdd0b555" }, "downloads": -1, "filename": "pyramid_genshi-0.1.1.zip", "has_sig": false, "md5_digest": "98390fffe0ca172e65f7394f0dd98b28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13796, "upload_time": "2012-03-21T07:04:22", "url": "https://files.pythonhosted.org/packages/44/91/b1996cf28ce86cdc39b97c9b3786b39bed1061d76be9d7b1264bc2f44380/pyramid_genshi-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e76492a7bb22159db3a29e18cb0c3ed0", "sha256": "f45d385a33962bd5de1396e6bd0937b9ccace42b9105edb16b8c3d882c62caec" }, "downloads": -1, "filename": "pyramid_genshi-0.1.2.zip", "has_sig": false, "md5_digest": "e76492a7bb22159db3a29e18cb0c3ed0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13915, "upload_time": "2012-03-22T05:22:18", "url": "https://files.pythonhosted.org/packages/1a/3a/03c02626fd86e0d284d1d112f30034e7d95355b410b5ccf84831162aeffe/pyramid_genshi-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b6c9b2605b63fd0cbd261480ae419300", "sha256": "83bf2d9ba2cabcdee1579ebec6538acca43ea2d0a9725b1b4c8941a57af9f293" }, "downloads": -1, "filename": "pyramid_genshi-0.1.3.zip", "has_sig": false, "md5_digest": "b6c9b2605b63fd0cbd261480ae419300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13940, "upload_time": "2012-09-30T10:17:59", "url": "https://files.pythonhosted.org/packages/6a/fe/442ecb3468c105e758563566148c695c4ff2cc639788672e9f5a3437be94/pyramid_genshi-0.1.3.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "72745133abe75254d82202c0c5b0aba5", "sha256": "635cac8b4c385afe0c4459c18af86a8e5c98164f52b0e8a3545a645bac20c1a7" }, "downloads": -1, "filename": "pyramid_genshi-0.2.0.tar.gz", "has_sig": false, "md5_digest": "72745133abe75254d82202c0c5b0aba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8579, "upload_time": "2014-07-03T05:37:41", "url": "https://files.pythonhosted.org/packages/d5/33/4e522d1b55c062281bc1d936fa42e46e63aa39f6bfd46336f4019c3fee5b/pyramid_genshi-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "495c093e2f7899114d2dae29db60a0a2", "sha256": "07a3e9eece1de9865845ca08b896b3fb4df7fcef327b98142b340e1466b04863" }, "downloads": -1, "filename": "pyramid_genshi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "495c093e2f7899114d2dae29db60a0a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9350, "upload_time": "2014-07-04T22:04:00", "url": "https://files.pythonhosted.org/packages/a9/1d/f83f70e9205962ebd30897e4d5e89d7894fe3ef49a89813766d72d1c1de6/pyramid_genshi-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "495c093e2f7899114d2dae29db60a0a2", "sha256": "07a3e9eece1de9865845ca08b896b3fb4df7fcef327b98142b340e1466b04863" }, "downloads": -1, "filename": "pyramid_genshi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "495c093e2f7899114d2dae29db60a0a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9350, "upload_time": "2014-07-04T22:04:00", "url": "https://files.pythonhosted.org/packages/a9/1d/f83f70e9205962ebd30897e4d5e89d7894fe3ef49a89813766d72d1c1de6/pyramid_genshi-0.2.1.tar.gz" } ] }