{ "info": { "author": "Marconi Moreto", "author_email": "caketoad@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Pyramid JSRoutes\n================\n\nA pyramid routes composer for javascript.\n\nInstallation\n------------\n\n pip install -U pyramid-jsroutes\n\nUsage\n-----\n\nInclude the package in your Pyramid app's main function:\n\n```python\ndef main():\n ...\n config.include('jsroutes')\n ...\n return config.make_wsgi_app()\n```\n\nthis will make `jsroutes` available to all your template context, then you can use it like:\n\n \n\nthen you can start composing your Pyramid routes from javascript like:\n\n```javascript\nJSROUTES.blog_post(1) // /posts/1\n```\n\nSettings\n--------\n\nBy default it'll only collect the routes once and store it in the registry but you can force reloading everytime for development by settings the following settings:\n\n jsroutes.reload_routes = true\n\nNote\n----\n\nEach time your modify your Pyramid routes, you need to refresh your page to refetch the updated routes.\n\n\n.. :changelog:\n\nHistory\n-------\n\n0.1.2 (2013-07-07)\n+++++++++++++++++++\n\n- Removed rendering of build route args when route doesn't have args\n\n0.1.1 (2013-07-06)\n+++++++++++++++++++\n\n- Added `jsroutes.reload_routes` settings\n\n0.1.0 (2013-07-06)\n+++++++++++++++++++\n\n- Initial commit", "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/marconi/pyramid-jsroutes", "keywords": null, "license": "Copyright (c) 2012 Marconi Moreto.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "pyramid-jsroutes", "package_url": "https://pypi.org/project/pyramid-jsroutes/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyramid-jsroutes/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/marconi/pyramid-jsroutes" }, "release_url": "https://pypi.org/project/pyramid-jsroutes/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "A pyramid routes composer for javascript.", "version": "0.1.2" }, "last_serial": 810134, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b1e376cc10d810428a79ebd471f8bc1d", "sha256": "80a67f5fae82aeb3534f741bcec325c6cd6a957d825453a182d944e756abf739" }, "downloads": -1, "filename": "pyramid-jsroutes-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b1e376cc10d810428a79ebd471f8bc1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3178, "upload_time": "2013-07-06T09:39:31", "url": "https://files.pythonhosted.org/packages/bb/17/705ef48a36bb4cb757eb7277b6d6d8bc4b7d594197acc45bafa290b145ca/pyramid-jsroutes-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bad986ccbd292b4fc9832d0cccf404d2", "sha256": "fe1f235cd15bc59a6e0c231cfe1a98c9bb7493da161d8f5919ac4105444c6e90" }, "downloads": -1, "filename": "pyramid-jsroutes-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bad986ccbd292b4fc9832d0cccf404d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3755, "upload_time": "2013-07-06T15:05:49", "url": "https://files.pythonhosted.org/packages/cb/67/5cde0d3a912b074c6be0cb4a41d3c62a64e9c64fc1b6748475ac0d43e96c/pyramid-jsroutes-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e8bd8bf420dd3098a7e4ce47b2d9c23a", "sha256": "99a8ffcbfda41a7be7adcd59b89ebac355ac0c23108e3fe36bf015dee9cfad93" }, "downloads": -1, "filename": "pyramid-jsroutes-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e8bd8bf420dd3098a7e4ce47b2d9c23a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3836, "upload_time": "2013-07-07T08:44:16", "url": "https://files.pythonhosted.org/packages/8f/ef/bdee2d5ce5e6fed049ba60d87598c2981e497361b8bcf82c5c4d81c69f14/pyramid-jsroutes-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8bd8bf420dd3098a7e4ce47b2d9c23a", "sha256": "99a8ffcbfda41a7be7adcd59b89ebac355ac0c23108e3fe36bf015dee9cfad93" }, "downloads": -1, "filename": "pyramid-jsroutes-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e8bd8bf420dd3098a7e4ce47b2d9c23a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3836, "upload_time": "2013-07-07T08:44:16", "url": "https://files.pythonhosted.org/packages/8f/ef/bdee2d5ce5e6fed049ba60d87598c2981e497361b8bcf82c5c4d81c69f14/pyramid-jsroutes-0.1.2.tar.gz" } ] }