{
"info": {
"author": "@Robpol86",
"author_email": "robpol86@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries"
],
"description": "Flask-Statics-Helper\r\n====================\r\n\r\nProvides Bootstrap3 and other static resources in a modular fashion.\r\n\r\nThe main purpose of this extension is to \"modularize\" static resources\r\n(css and js files) on a per-template basis. In a large Flask\r\napplication, all views/templates don't use the same static resource such\r\nas d3js. If only one view uses d3js out of five or more, there is no\r\nreason to have the d3js ```` tag included in all views.\r\n\r\nThis extension also provides a base template to be extended by your\r\nFlask application's templates for Bootstrap3 (like other Bootstrap3\r\nextensions such as `this `__ or\r\n`this `__).\r\n\r\n- Python 2.6, 2.7, 3.3, and 3.4 supported on Linux and OS X.\r\n- Python 2.7, 3.3, and 3.4 supported on Windows (both 32 and 64 bit versions of Python).\r\n\r\n|Build Status Windows| |Build Status| |Coverage Status| |Latest Version| |Downloads|\r\n\r\nQuickstart\r\n----------\r\n\r\nInstall:\r\n\r\n.. code:: bash\r\n\r\n pip install Flask-Statics-Helper\r\n\r\nEnable:\r\n\r\n.. code:: python\r\n\r\n # example.py\r\n from flask import Flask\r\n from flask.ext.statics import Statics\r\n\r\n app = Flask(__name__)\r\n Statics(app)\r\n\r\nUse with Bootstrap3 (automatically enables jQuery):\r\n\r\n.. code:: html+django\r\n\r\n {% extends 'flask_statics_helper/bootstrap.html' %}\r\n {% set STATICS_ENABLE_RESOURCE_CSSHAKE = True %}\r\n {% block title %}My Application{% endblock %}\r\n\r\n {% block navbar %}\r\n \r\n {% endblock %}\r\n\r\n {% block container %}\r\n \r\n
Hello World.
\r\n
\r\n {% endblock %}\r\n\r\nAvailable Resources\r\n-------------------\r\n\r\n- `Bootstrap `__ 3.3.1\r\n- `jQuery `__ 2.1.1\r\n- `Angular JS `__ 1.3.4\r\n- `Bootstrap Growl `__ 2.0.0\r\n- `Bootstrap X-Editable `__ 1.5.1\r\n- `BootstrapValidator `__ 0.5.3\r\n- `CSShake `__ (cloned July 9, 2014)\r\n- `D3 `__ 3.4.13\r\n- `Data Tables `__ 1.10.4\r\n- `Font Awesome `__ 4.2.0\r\n- `WHHG Font `__ (cloned November 26, 2014)\r\n- `typeahead.js `__ 0.10.5\r\n\r\nConfiguration\r\n-------------\r\n\r\nThe only ``app.config`` specific setting is ``STATICS_MINIFY``.\r\nEverything else may be set to True either in individual\r\ntemplates (so that css/js is included only for that template) or you\r\nmay set it to True in the ``app.config`` if you want\r\nthe resource enabled for all templates for some reason or another.\r\n\r\nThe following config settings are searched for in the Flask\r\napplication\u2019s configuration dictionary:\r\n\r\n- ``STATICS_MINIFY`` \u2013 Have minified resources selected instead of\r\n uncompressed resources.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_BOOTSTRAP`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_BOOTSTRAP_EDITABLE`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_BOOTSTRAP_GROWL`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_BOOTSTRAP_TYPEAHEAD`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_BOOTSTRAP_VALIDATOR`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_CSSHAKE`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_D3`` \u2013 include resource in all templates.\r\n- ``STATICS_ENABLE_RESOURCE_DATATABLES`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_FONT_AWESOME`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_JQUERY`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_WHHG_FONT`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_ANIMATE`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_COOKIES`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_CSP`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_LOADER`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_MESSAGES`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_MOCKS`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_RESOURCE`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_ROUTE`` \u2013 include resource in all\r\n templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_SANITIZE`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_SCENARIO`` \u2013 include resource in\r\n all templates.\r\n- ``STATICS_ENABLE_RESOURCE_ANGULARJS_TOUCH`` \u2013 include resource in all\r\n templates.\r\n\r\nChangelog\r\n---------\r\n\r\n1.0.0\r\n^^^^^\r\n\r\n- Windows compatibility.\r\n- Updated Bootstrap to 3.3.1.\r\n- Updated Angular JS to 1.3.4.\r\n- Updated BootstrapValidator to 0.5.3.\r\n- Updated D3 to 3.4.13.\r\n- Updated Data Tables to 1.10.4.\r\n- Updated Font Awesome to 4.2.0.\r\n- Updated WHHG Font to latest as of November 26, 2014.\r\n\r\n0.3.0\r\n^^^^^\r\n\r\n- Replaced Bootstrap 3 Typeahead with Twitter typeahead.js.\r\n\r\n0.2.0\r\n^^^^^\r\n\r\n- Added BootstrapValidator resource.\r\n\r\n0.1.1\r\n^^^^^\r\n\r\n- Added Python 2.6 and 3.x support.\r\n\r\n0.1.0\r\n^^^^^\r\n\r\n- Initial release.\r\n\r\n.. |Build Status Windows| image:: https://img.shields.io/appveyor/ci/Robpol86/Flask-Statics-Helper.svg?style=flat-square\r\n :target: https://ci.appveyor.com/project/Robpol86/Flask-Statics-Helper\r\n.. |Build Status| image:: https://img.shields.io/travis/Robpol86/Flask-Statics-Helper/master.svg?style=flat-square\r\n :target: https://travis-ci.org/Robpol86/Flask-Statics-Helper\r\n.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/Robpol86/Flask-Statics-Helper/master.svg?style=flat-square\r\n :target: https://codecov.io/github/Robpol86/Flask-Statics-Helper\r\n.. |Latest Version| image:: https://img.shields.io/pypi/v/Flask-Statics-Helper.svg?style=flat-square\r\n :target: https://pypi.python.org/pypi/Flask-Statics-Helper/\r\n.. |Downloads| image:: https://img.shields.io/pypi/dm/Flask-Statics-Helper.svg?style=flat-square\r\n :target: https://pypi.python.org/pypi/Flask-Statics-Helper/",
"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/Robpol86/Flask-Statics-Helper",
"keywords": "flask",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "Flask-Statics-Helper",
"package_url": "https://pypi.org/project/Flask-Statics-Helper/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/Flask-Statics-Helper/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/Robpol86/Flask-Statics-Helper"
},
"release_url": "https://pypi.org/project/Flask-Statics-Helper/1.0.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Provides Bootstrap3 and other static resources in a modular fashion.",
"version": "1.0.0"
},
"last_serial": 1322600,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "0c99537057ed505920009f1652b43370",
"sha256": "f3ff6ceee210461b80451f7fd5b3d048caa2cef61edc87803e8f37557725b82a"
},
"downloads": -1,
"filename": "Flask-Statics-Helper-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "0c99537057ed505920009f1652b43370",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3186903,
"upload_time": "2014-07-10T23:18:28",
"url": "https://files.pythonhosted.org/packages/2d/a9/81ef076a47aea7bc174b3951421bb1bba0dcec08fa49c164608734c04af8/Flask-Statics-Helper-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "f695bc9641612cc007f6b1e95a7fdd8c",
"sha256": "82dece68c97078aad6e90f8fa19cce9b87cd04e6461b2ef6d56b698f6ca254f5"
},
"downloads": -1,
"filename": "Flask-Statics-Helper-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "f695bc9641612cc007f6b1e95a7fdd8c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3190078,
"upload_time": "2014-07-13T06:04:20",
"url": "https://files.pythonhosted.org/packages/04/17/195587e76ffd072665b8b637e0b32971614072581fcdbf756785c3e1a3aa/Flask-Statics-Helper-0.1.1.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "a95d9d088d0d41bf5598d6025939402e",
"sha256": "7becd649e9876805a9489cba65675d10235ebd599007f63bed709604296585d0"
},
"downloads": -1,
"filename": "Flask-Statics-Helper-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "a95d9d088d0d41bf5598d6025939402e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3267025,
"upload_time": "2014-08-08T18:22:13",
"url": "https://files.pythonhosted.org/packages/1e/0a/1d1adf9e1f912b8e8b4bb7721fd55c5e26bff536403beaff2800a6c75223/Flask-Statics-Helper-0.2.0.tar.gz"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "a41293a3b1c3ddce3cd8cbaf7bf8cadb",
"sha256": "7f8a3fd187c53361553793379a86b5ef9c6142866df4c44a2485a530d2be33be"
},
"downloads": -1,
"filename": "Flask-Statics-Helper-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "a41293a3b1c3ddce3cd8cbaf7bf8cadb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3282453,
"upload_time": "2014-08-10T03:14:34",
"url": "https://files.pythonhosted.org/packages/bd/ea/293378fc243eb250c975f80387ede9f1bdf8cde9efc17a55b37934abb808/Flask-Statics-Helper-0.3.0.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "50f8a8a7edbbd07a9e2207800366378c",
"sha256": "df4d3cebe737c058b814ad9a442c7766bd7a4de109189fe7d095269cd5fcb0fc"
},
"downloads": -1,
"filename": "Flask-Statics-Helper-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "50f8a8a7edbbd07a9e2207800366378c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3511374,
"upload_time": "2014-11-26T20:22:09",
"url": "https://files.pythonhosted.org/packages/2c/0a/6512a7f038413e485d0bd1dad65253b5a3e3b828ffca429ae0362d012094/Flask-Statics-Helper-1.0.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "50f8a8a7edbbd07a9e2207800366378c",
"sha256": "df4d3cebe737c058b814ad9a442c7766bd7a4de109189fe7d095269cd5fcb0fc"
},
"downloads": -1,
"filename": "Flask-Statics-Helper-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "50f8a8a7edbbd07a9e2207800366378c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3511374,
"upload_time": "2014-11-26T20:22:09",
"url": "https://files.pythonhosted.org/packages/2c/0a/6512a7f038413e485d0bd1dad65253b5a3e3b828ffca429ae0362d012094/Flask-Statics-Helper-1.0.0.tar.gz"
}
]
}