==================
Flask-WebpackExt
==================
.. image:: https://img.shields.io/travis/inveniosoftware/flask-webpackext.svg
:target: https://travis-ci.org/inveniosoftware/flask-webpackext
.. image:: https://img.shields.io/coveralls/inveniosoftware/flask-webpackext.svg
:target: https://coveralls.io/r/inveniosoftware/flask-webpackext
.. image:: https://img.shields.io/github/tag/inveniosoftware/flask-webpackext.svg
:target: https://github.com/inveniosoftware/flask-webpackext/releases
.. image:: https://img.shields.io/pypi/dm/flask-webpackext.svg
:target: https://pypi.python.org/pypi/flask-webpackext
.. image:: https://img.shields.io/github/license/inveniosoftware/flask-webpackext.svg
:target: https://github.com/inveniosoftware/flask-webpackext/blob/master/LICENSE
Webpack integration for Flask.
Flask-WebpackExt makes it easy to interface with your existing Webpack project
from Flask and does not try to manage Webpack for you. Flask-WebpackExt does
this via:
* **Manifests**: You tell Webpack to write a ``manifest.json`` using plugins
such as `webpack-manifest-plugin
<https://www.npmjs.com/package/webpack-manifest-plugin>`_,
`webpack-yam-plugin
<https://www.npmjs.com/package/webpack-yam-plugin>`_ or
`webpack-bundle-tracker
<https://www.npmjs.com/package/webpack-bundle-tracker>`_. Flask-WebpackExt
reads the manifest and makes your compiled assets available in your Jinja
templates.
* **CLI for NPM**: Flask-WebpackExt provides a Flask CLI so that e.g.
``flask webpack install`` will run ``npm install`` in your Webpack project.
Similarly, ``flask webpack build`` will run ``npm run build``.
Optionally you can use Flask-WebpackExt to also:
* **Inject configuration:** Flask-WebpackExt will write a ``config.json`` into
your Webpack project, which you can import in your Webpack configuration. You
define what goes in the config e.g. Let Webpack know about output paths or
dynamic entry points.
* **Collect bundles:** If your Webpack project is spread over multiple Python
packages, Flask-WebpackExt can help you dynamically assemble the files into a
Webpack project. This is useful if you don't know until runtime which
packages are installed.
Further documentation is available on
https://flask-webpackext.readthedocs.io/
Changes
=======
Version 1.0.2 (released 2020-05-13)
- Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0
- Set Sphinx ``<3`` because of errors related to application context
- Stop using example app
Version 1.0.1 (released 2018-12-14)
- Pypi classifier and deployment configuration
- License detection
Version 0.1.0 (released 2016-05-29)
- Initial public release.
Raw data
{
"_id": null,
"home_page": "https://github.com/inveniosoftware/flask-webpackext",
"name": "flask-webpackext",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "flask webpack",
"author": "CERN",
"author_email": "info@inveniosoftware.org",
"download_url": "https://files.pythonhosted.org/packages/af/68/3350b8553eaedcf8c48aa0f79404a7a332f4630715b566d4e2475d888350/flask-webpackext-1.0.2.tar.gz",
"platform": "",
"description": "==================\n Flask-WebpackExt\n==================\n\n.. image:: https://img.shields.io/travis/inveniosoftware/flask-webpackext.svg\n :target: https://travis-ci.org/inveniosoftware/flask-webpackext\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/flask-webpackext.svg\n :target: https://coveralls.io/r/inveniosoftware/flask-webpackext\n\n.. image:: https://img.shields.io/github/tag/inveniosoftware/flask-webpackext.svg\n :target: https://github.com/inveniosoftware/flask-webpackext/releases\n\n.. image:: https://img.shields.io/pypi/dm/flask-webpackext.svg\n :target: https://pypi.python.org/pypi/flask-webpackext\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/flask-webpackext.svg\n :target: https://github.com/inveniosoftware/flask-webpackext/blob/master/LICENSE\n\nWebpack integration for Flask.\n\nFlask-WebpackExt makes it easy to interface with your existing Webpack project\nfrom Flask and does not try to manage Webpack for you. Flask-WebpackExt does\nthis via:\n\n* **Manifests**: You tell Webpack to write a ``manifest.json`` using plugins\n such as `webpack-manifest-plugin\n <https://www.npmjs.com/package/webpack-manifest-plugin>`_,\n `webpack-yam-plugin\n <https://www.npmjs.com/package/webpack-yam-plugin>`_ or\n `webpack-bundle-tracker\n <https://www.npmjs.com/package/webpack-bundle-tracker>`_. Flask-WebpackExt\n reads the manifest and makes your compiled assets available in your Jinja\n templates.\n* **CLI for NPM**: Flask-WebpackExt provides a Flask CLI so that e.g.\n ``flask webpack install`` will run ``npm install`` in your Webpack project.\n Similarly, ``flask webpack build`` will run ``npm run build``.\n\nOptionally you can use Flask-WebpackExt to also:\n\n* **Inject configuration:** Flask-WebpackExt will write a ``config.json`` into\n your Webpack project, which you can import in your Webpack configuration. You\n define what goes in the config e.g. Let Webpack know about output paths or\n dynamic entry points.\n* **Collect bundles:** If your Webpack project is spread over multiple Python\n packages, Flask-WebpackExt can help you dynamically assemble the files into a\n Webpack project. This is useful if you don't know until runtime which\n packages are installed.\n\nFurther documentation is available on\nhttps://flask-webpackext.readthedocs.io/\n\n\nChanges\n=======\n\nVersion 1.0.2 (released 2020-05-13)\n\n- Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0\n- Set Sphinx ``<3`` because of errors related to application context\n- Stop using example app\n\nVersion 1.0.1 (released 2018-12-14)\n\n- Pypi classifier and deployment configuration\n- License detection\n\nVersion 0.1.0 (released 2016-05-29)\n\n- Initial public release.\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Webpack integration for Flask.",
"version": "1.0.2",
"project_urls": {
"Homepage": "https://github.com/inveniosoftware/flask-webpackext"
},
"split_keywords": [
"flask",
"webpack"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c1d160d1a90be326b7d1d87e4a0d8e5aeadb843a8766642138fea3a802511a66",
"md5": "798a54bcc7b9bf8fdef1b47ab6bfa43e",
"sha256": "6313903d5aad5f330cb14ce97e7fec22541da413d5fe71b33b1f1a2eb69e426f"
},
"downloads": -1,
"filename": "flask_webpackext-1.0.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "798a54bcc7b9bf8fdef1b47ab6bfa43e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 15718,
"upload_time": "2020-05-13T13:38:19",
"upload_time_iso_8601": "2020-05-13T13:38:19.340135Z",
"url": "https://files.pythonhosted.org/packages/c1/d1/60d1a90be326b7d1d87e4a0d8e5aeadb843a8766642138fea3a802511a66/flask_webpackext-1.0.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "af683350b8553eaedcf8c48aa0f79404a7a332f4630715b566d4e2475d888350",
"md5": "50250bfb4cf575b0ec73ff0dd654d933",
"sha256": "36e4b2d19f3e12e0bb370248094e1631a0cf8e607e76ca8c437718395b90c7ad"
},
"downloads": -1,
"filename": "flask-webpackext-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "50250bfb4cf575b0ec73ff0dd654d933",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 24148,
"upload_time": "2020-05-13T13:38:20",
"upload_time_iso_8601": "2020-05-13T13:38:20.410035Z",
"url": "https://files.pythonhosted.org/packages/af/68/3350b8553eaedcf8c48aa0f79404a7a332f4630715b566d4e2475d888350/flask-webpackext-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-05-13 13:38:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inveniosoftware",
"github_project": "flask-webpackext",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "flask-webpackext"
}