{ "info": { "author": "zouhair zouhair.mahboubi@gmail.com", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# Dash Defer JS Import\n\nDash Defer JS Import is a Dash component library.\n\nIts purpose is to defer loading JS scripts until after the Dash React elements have loaded.\n\n# Installation\n\nThe package has been released to pypi and npm.\nEasy thing is to install using pip:\n```\npip install dash_defer_js_import\n``` \n\nTo install from source, clone the repo and\n\n```\nnpm install\nnpm run build:all\npython setup.py sdist\npip install dist/dash_defer_js_import-0.0.1.tar.gz\n```\nNote: his assumes you have the requirements already installed, if not, see requirements.txt\nMight want to use venv to not mess up your own repo ...)\n\n# Usage:\n```\nimport dash_defer_js_import as dji\n\n# Dash server initi and layout setup\n# ...\n\napp.layout = html.Article(dji.Import(src=\"./path/to/script.js\"))\n\n```\n\n# Credits \nThis component is based on the [grasia-dash-component](https://github.com/Grasia/grasia-dash-components)\n\nIt was initialized using cookiecutter thanks to the [https://github.com/plotly/dash-component-boilerplate.git](das-component-boilerplate) cookiecutter .", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dash-defer-js-import", "package_url": "https://pypi.org/project/dash-defer-js-import/", "platform": "", "project_url": "https://pypi.org/project/dash-defer-js-import/", "project_urls": null, "release_url": "https://pypi.org/project/dash-defer-js-import/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Deferring loading of JS files until after React loads", "version": "0.0.2" }, "last_serial": 5520455, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a4dbde3da2e66493dbfd1b1560955889", "sha256": "7b3e74a3bad3ab18d80bdf8dbee29a5524ccb8aabe7c48ba69249bc108b94dbb" }, "downloads": -1, "filename": "dash_defer_js_import-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a4dbde3da2e66493dbfd1b1560955889", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37274, "upload_time": "2019-07-11T09:56:58", "url": "https://files.pythonhosted.org/packages/56/07/3055c1510145520c06d9953ec3b559107c893e72c02e0bdbcca9eca159c8/dash_defer_js_import-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6b60026af1874de12c0dca2ee74ebbc0", "sha256": "403fef93d46535ed3ad4d5df0749136cfd1439d6956ff877b40dc47021df1e4a" }, "downloads": -1, "filename": "dash_defer_js_import-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6b60026af1874de12c0dca2ee74ebbc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36947, "upload_time": "2019-07-11T22:10:42", "url": "https://files.pythonhosted.org/packages/01/55/00cb28fbfa48c14815cef2c3754fab9c9dad93cbe4b8a8492e0e5aa516ea/dash_defer_js_import-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b60026af1874de12c0dca2ee74ebbc0", "sha256": "403fef93d46535ed3ad4d5df0749136cfd1439d6956ff877b40dc47021df1e4a" }, "downloads": -1, "filename": "dash_defer_js_import-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6b60026af1874de12c0dca2ee74ebbc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36947, "upload_time": "2019-07-11T22:10:42", "url": "https://files.pythonhosted.org/packages/01/55/00cb28fbfa48c14815cef2c3754fab9c9dad93cbe4b8a8492e0e5aa516ea/dash_defer_js_import-0.0.2.tar.gz" } ] }