flask-webpackext


Nameflask-webpackext JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/flask-webpackext
SummaryWebpack integration for Flask.
upload_time2024-11-28 17:14:30
maintainerNone
docs_urlNone
authorCERN
requires_python>=3.7
licenseBSD
keywords flask webpack
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==================
 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 2.0.0 (released 2024-11-28)

- Project: allows passing allowed_copy_paths to copy assets when building with
           Webpack
- Package structure update.
- Added ``black`` formatting.
- Dropped Python 3.6 support.

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": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "flask webpack",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/2c/15/10bafe1a2c041df276951582c821477206bf94c313ab4b11db002e8d73d6/flask_webpackext-2.0.0.tar.gz",
    "platform": "any",
    "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\nChanges\n=======\n\nVersion 2.0.0 (released 2024-11-28)\n\n- Project: allows passing allowed_copy_paths to copy assets when building with\n           Webpack\n- Package structure update.\n- Added ``black`` formatting.\n- Dropped Python 3.6 support.\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",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Webpack integration for Flask.",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/flask-webpackext"
    },
    "split_keywords": [
        "flask",
        "webpack"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e134f4638174e8f6ca5271c0e9723310075295d4818db9daaebf6badda5d231e",
                "md5": "12f2ee7bcf317d32d7d7f425f8d87229",
                "sha256": "7b9d382d13de23e722095727038201cdeca1f046f3c287eae81271e9336062d8"
            },
            "downloads": -1,
            "filename": "flask_webpackext-2.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "12f2ee7bcf317d32d7d7f425f8d87229",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 14705,
            "upload_time": "2024-11-28T17:14:29",
            "upload_time_iso_8601": "2024-11-28T17:14:29.604731Z",
            "url": "https://files.pythonhosted.org/packages/e1/34/f4638174e8f6ca5271c0e9723310075295d4818db9daaebf6badda5d231e/flask_webpackext-2.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c1510bafe1a2c041df276951582c821477206bf94c313ab4b11db002e8d73d6",
                "md5": "fbdc0616f46242f1dde468f05d100831",
                "sha256": "7432c2e8d9039238f2f8476b004520278cd13ea3f802f9695536f273dce67f7e"
            },
            "downloads": -1,
            "filename": "flask_webpackext-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fbdc0616f46242f1dde468f05d100831",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 25360,
            "upload_time": "2024-11-28T17:14:30",
            "upload_time_iso_8601": "2024-11-28T17:14:30.625017Z",
            "url": "https://files.pythonhosted.org/packages/2c/15/10bafe1a2c041df276951582c821477206bf94c313ab4b11db002e8d73d6/flask_webpackext-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-28 17:14:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "flask-webpackext",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "flask-webpackext"
}
        
Elapsed time: 0.37481s