{ "info": { "author": "Fanstatic Developers", "author_email": "fanstatic@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "js.yui\n******\n\nIntroduction\n============\n\nThis library packages `YUI`_ for `fanstatic`_. It is aware of YUI's\nstructure and different modes (normal, minified, debug).\n\n.. _`fanstatic`: http://fanstatic.org\n.. _`YUI`: http://developer.yahoo.com/yui/\n\nThis requires integration between your web framework and ``fanstatic``,\nand making sure that the original resources (shipped in the ``resources``\ndirectory in ``js.yui``) are published to some URL.\n\njs.yui basic tests\n==================\n\nHere are some basic tests for js.yui.\n\nLet's check the YUI structure by picking out a resource in it::\n\n >>> import js.yui\n >>> from fanstatic import init_needed\n >>> needed = init_needed(base_url='http://localhost')\n >>> needed.need(js.yui.fonts)\n >>> print needed.render()\n \n\nLet's try a resource that has a dependency on fonts, namely\n``grids``::\n\n >>> needed = init_needed(base_url='http://localhost')\n >>> needed.need(js.yui.grids)\n >>> print needed.render()\n \n \n\nLet's need two resources at the same time::\n\n >>> needed = init_needed(base_url='http://localhost')\n >>> needed.need(js.yui.grids)\n >>> needed.need(js.yui.reset)\n >>> print needed.render()\n \n \n \n\nLet's get the same, minified::\n\n >>> needed = init_needed(base_url='http://localhost', minified=True)\n >>> needed.need(js.yui.grids)\n >>> needed.need(js.yui.reset)\n >>> print needed.render()\n \n \n \n\nNow let's try to see consolidation: we include grids and reset at the\nsame time. Since this time we enable rolling up, we expect to see the\nrollup ``reset-fonts-grids``::\n\n >>> needed = init_needed(\n ... base_url='http://localhost', rollup=True)\n >>> needed.need(js.yui.grids)\n >>> needed.need(js.yui.reset)\n >>> print needed.render()\n \n\nRequesting minification has no effect on rollups, as the original\nrollup is already minified::\n\n >>> needed = init_needed(\n ... base_url='http://localhost', rollup=True, minified=True)\n >>> needed.need(js.yui.grids)\n >>> needed.need(js.yui.reset)\n >>> print needed.render()\n \n\n\nCHANGES\n*******\n\n2.8.2-1 (2011-04-13)\n====================\n\n- Update to fanstatic 0.11.1.\n\n- No longer list the resources it self as it's own minified version.\n\n2.8.2 (2011-01-07)\n==================\n\n- Rewrote `hurry.yui`_ to use `fanstatic`_ instead of `hurry.resource`_.\n\n- Use YUI version 2.8.2.\n\n.. _`hurry.yui`: http://pypi.python.org/pypi/hurry.yui\n.. _`hurry.resource`: http://pypi.python.org/pypi/hurry.resource\n.. _`fanstatic`: http://fanstatic.org", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "js.yui", "package_url": "https://pypi.org/project/js.yui/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/js.yui/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/js.yui/2.8.2-1/", "requires_dist": null, "requires_python": null, "summary": "fanstatic YUI", "version": "2.8.2-1" }, "last_serial": 793784, "releases": { "2.8.2": [ { "comment_text": "", "digests": { "md5": "20c472b76f284ad7fa89cfbf8cc4a49b", "sha256": "3a146640f583dd8613fdbf29f7901c91161d759492b5da125780a86a1a5a5f95" }, "downloads": -1, "filename": "js.yui-2.8.2.tar.gz", "has_sig": false, "md5_digest": "20c472b76f284ad7fa89cfbf8cc4a49b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2349012, "upload_time": "2011-01-07T12:14:40", "url": "https://files.pythonhosted.org/packages/7b/e9/dbec47faaf62463553fecb9c3f2cd683b8052f0ac3eb5c2830e17d03009d/js.yui-2.8.2.tar.gz" } ], "2.8.2-1": [ { "comment_text": "", "digests": { "md5": "df78de14b03e4dc33ea9755dd83c5031", "sha256": "7bc96628b10bec2d33b8549c155ab02939485d6dffe3b5b4f261adabbe39bf1b" }, "downloads": -1, "filename": "js.yui-2.8.2-1.tar.gz", "has_sig": false, "md5_digest": "df78de14b03e4dc33ea9755dd83c5031", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2348560, "upload_time": "2011-04-13T15:34:10", "url": "https://files.pythonhosted.org/packages/c4/66/f897c3b1123c082febcf150fba009d75ebe54e2d77816eccc75999beaf80/js.yui-2.8.2-1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df78de14b03e4dc33ea9755dd83c5031", "sha256": "7bc96628b10bec2d33b8549c155ab02939485d6dffe3b5b4f261adabbe39bf1b" }, "downloads": -1, "filename": "js.yui-2.8.2-1.tar.gz", "has_sig": false, "md5_digest": "df78de14b03e4dc33ea9755dd83c5031", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2348560, "upload_time": "2011-04-13T15:34:10", "url": "https://files.pythonhosted.org/packages/c4/66/f897c3b1123c082febcf150fba009d75ebe54e2d77816eccc75999beaf80/js.yui-2.8.2-1.tar.gz" } ] }