{ "info": { "author": "Daniel Havlik", "author_email": "dh@gocept.com", "bugtrack_url": null, "classifiers": [], "description": "js.fanstatictools\n*****************\n\nIntroduction\n============\n\nThis library provides some javascript helpers for use with `fanstatic`_.\n\n.. _`fanstatic`: http://fanstatic.org\n\n\nGet URLs of resources from within Javascript\n============================================\n\nWhen you need to load other (fanstatic) resources inside your javascript, you\nmay want to calculate the URL to the fanstatic library the resource is defined\nin. Using relative URLs does not work, because they are calculated relative to\nthe windows URL, not to the URL of the current script, which can be different.\n\nAfter including the js.fanstatictools.lib_url fanstatic resource, you are able\nto call fanstatictools.get_library_url('name_of_your_library'), which returns\nthe url. Add the filename of the resource to the end and you are done.\n\nHow to use?\n===========\n\n\nYou can import ``url`` from ``js.fanstatictools`` and ``need`` it where you want\nthese resources to be included on a page::\n\n >>> from js.fanstatictools import lib_url\n >>> lib_url.need()\n\n\nCHANGES\n*******\n\n0.1 (2013-05-15)\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": "UNKNOWN", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "js.fanstatictools", "package_url": "https://pypi.org/project/js.fanstatictools/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/js.fanstatictools/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/js.fanstatictools/0.1/", "requires_dist": null, "requires_python": null, "summary": "Fanstatic related javascript tools packaged as a fanstatic library.", "version": "0.1" }, "last_serial": 793704, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7a9630a7894dc334262d718dbbfdb088", "sha256": "a632b2d7e2e4b4a918999f27bb17c1fbec5100f25b2b968ce00d85aeda4de905" }, "downloads": -1, "filename": "js.fanstatictools-0.1.zip", "has_sig": false, "md5_digest": "7a9630a7894dc334262d718dbbfdb088", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10355, "upload_time": "2013-05-15T08:49:09", "url": "https://files.pythonhosted.org/packages/1b/db/351e2b50761a70756e6544417df7ca253c040c71cda5da657a4f7cfcb511/js.fanstatictools-0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a9630a7894dc334262d718dbbfdb088", "sha256": "a632b2d7e2e4b4a918999f27bb17c1fbec5100f25b2b968ce00d85aeda4de905" }, "downloads": -1, "filename": "js.fanstatictools-0.1.zip", "has_sig": false, "md5_digest": "7a9630a7894dc334262d718dbbfdb088", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10355, "upload_time": "2013-05-15T08:49:09", "url": "https://files.pythonhosted.org/packages/1b/db/351e2b50761a70756e6544417df7ca253c040c71cda5da657a4f7cfcb511/js.fanstatictools-0.1.zip" } ] }