pywebpack


Namepywebpack JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/pywebpack
SummaryWebpack integration layer for Python.
upload_time2024-09-20 13:49:21
maintainerNone
docs_urlNone
authorCERN
requires_python>=3.7
licenseBSD
keywords webpack npm node
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===========
 PyWebpack
===========

.. image:: https://github.com/inveniosoftware/pywebpack/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/pywebpack/actions?query=workflow%3ACI

.. image:: https://img.shields.io/coveralls/inveniosoftware/pywebpack.svg
        :target: https://coveralls.io/r/inveniosoftware/pywebpack

.. image:: https://img.shields.io/github/tag/inveniosoftware/pywebpack.svg
        :target: https://github.com/inveniosoftware/pywebpack/releases

.. image:: https://img.shields.io/pypi/dm/pywebpack.svg
        :target: https://pypi.python.org/pypi/pywebpack

.. image:: https://img.shields.io/github/license/inveniosoftware/pywebpack.svg
        :target: https://github.com/inveniosoftware/pywebpack/blob/master/LICENSE

Webpack integration layer for Python.

**Using Flask?** Check out
`Flask-WebpackExt <https://flask-webpackext.readthedocs.io>`_.

PyWebpack makes it easy to interface with your existing Webpack project and
does not try to manage Webpack for you. PyWebpack 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>`_. PyWebpack
  reads the manifest and makes your compiled assets available to your template
  engine such as Jinja.
* **API for NPM**: PyWebpack provides an API so that e.g. ``project.install()``
  will run ``npm install`` in your Webpack project.

Optionally you can use PyWebpack to also:

* **Inject configuration:** PyWebpack will write a ``config.json`` into
  your webpack project, which you can import in your webpack configuration. You
  can 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, PyWebpack can help you dynamically assemble the files into a
  Webpack project. This is useful if you don't know until build time which
  packages are installed.

Further documentation is available on
https://pywebpack.readthedocs.io/

Changes
=======

Version 2.0.1 (released 2024-09-20)

- Removes implicit dependency on setuptools and use importlib-metadata instead of the
  deprecated pkg_resources module

Version 2.0.0 (released 2024-03-04)

- Removes dependency on node-semver package
- Changes the NPM dependencies merging algorithm to fail when conflicting
  major versions of the same package are found.

Version 1.2.0 (released 2021-01-21)

- Fixes an issue where if you were using WebpackBundleProject with
  the LinkStorage to make symlinks, you would end up having your source
  package.json overwritten.

Version 1.1.0 (released 2020-05-25)

- Adds support for collecting aliases from bundles.
- Restore Python 2 compatibility.

Version 1.0.4 (released 2020-05-25)

- Python commands now fail when the NPM processes exit with an error.

Version 1.0.3 (released 2020-05-12)

- Fixes issue with incorrect parsing of webpack-bundle-tracker manifests.

Version 1.0.2 (released 2020-04-28)

- Adds a ``depth`` parameter to LinkStorage to allow for higher level
  symlinking on the folder-level.

Version 1.0.1 (released 2020-02-14)

- Adds support for having bundles that are callables in
  bundles_from_entry_point.

Version 1.0.0 (released 2018-10-29)

- Adds documentation and extra tests.

Version 0.1.2 (released 2017-11-06)

- Fix invalid closing of </link> tag.

Version 0.1.1 (released 2017-05-29)

- Fix problem with package.json not being updated.
- Fix merging of package.json dependencies.
- Increase test coverage.

Version 0.1.0 (released 2017-05-16)

- Initial public release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/pywebpack",
    "name": "pywebpack",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "webpack npm node",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/f7/d4/cc605e4ea2093058d5c35ca15de028e82f4d8524f25242e5874f27069173/pywebpack-2.0.1.tar.gz",
    "platform": "any",
    "description": "===========\n PyWebpack\n===========\n\n.. image:: https://github.com/inveniosoftware/pywebpack/workflows/CI/badge.svg\n        :target: https://github.com/inveniosoftware/pywebpack/actions?query=workflow%3ACI\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/pywebpack.svg\n        :target: https://coveralls.io/r/inveniosoftware/pywebpack\n\n.. image:: https://img.shields.io/github/tag/inveniosoftware/pywebpack.svg\n        :target: https://github.com/inveniosoftware/pywebpack/releases\n\n.. image:: https://img.shields.io/pypi/dm/pywebpack.svg\n        :target: https://pypi.python.org/pypi/pywebpack\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/pywebpack.svg\n        :target: https://github.com/inveniosoftware/pywebpack/blob/master/LICENSE\n\nWebpack integration layer for Python.\n\n**Using Flask?** Check out\n`Flask-WebpackExt <https://flask-webpackext.readthedocs.io>`_.\n\nPyWebpack makes it easy to interface with your existing Webpack project and\ndoes not try to manage Webpack for you. PyWebpack does this 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>`_. PyWebpack\n  reads the manifest and makes your compiled assets available to your template\n  engine such as Jinja.\n* **API for NPM**: PyWebpack provides an API so that e.g. ``project.install()``\n  will run ``npm install`` in your Webpack project.\n\nOptionally you can use PyWebpack to also:\n\n* **Inject configuration:** PyWebpack will write a ``config.json`` into\n  your webpack project, which you can import in your webpack configuration. You\n  can 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, PyWebpack can help you dynamically assemble the files into a\n  Webpack project. This is useful if you don't know until build time which\n  packages are installed.\n\nFurther documentation is available on\nhttps://pywebpack.readthedocs.io/\n\nChanges\n=======\n\nVersion 2.0.1 (released 2024-09-20)\n\n- Removes implicit dependency on setuptools and use importlib-metadata instead of the\n  deprecated pkg_resources module\n\nVersion 2.0.0 (released 2024-03-04)\n\n- Removes dependency on node-semver package\n- Changes the NPM dependencies merging algorithm to fail when conflicting\n  major versions of the same package are found.\n\nVersion 1.2.0 (released 2021-01-21)\n\n- Fixes an issue where if you were using WebpackBundleProject with\n  the LinkStorage to make symlinks, you would end up having your source\n  package.json overwritten.\n\nVersion 1.1.0 (released 2020-05-25)\n\n- Adds support for collecting aliases from bundles.\n- Restore Python 2 compatibility.\n\nVersion 1.0.4 (released 2020-05-25)\n\n- Python commands now fail when the NPM processes exit with an error.\n\nVersion 1.0.3 (released 2020-05-12)\n\n- Fixes issue with incorrect parsing of webpack-bundle-tracker manifests.\n\nVersion 1.0.2 (released 2020-04-28)\n\n- Adds a ``depth`` parameter to LinkStorage to allow for higher level\n  symlinking on the folder-level.\n\nVersion 1.0.1 (released 2020-02-14)\n\n- Adds support for having bundles that are callables in\n  bundles_from_entry_point.\n\nVersion 1.0.0 (released 2018-10-29)\n\n- Adds documentation and extra tests.\n\nVersion 0.1.2 (released 2017-11-06)\n\n- Fix invalid closing of </link> tag.\n\nVersion 0.1.1 (released 2017-05-29)\n\n- Fix problem with package.json not being updated.\n- Fix merging of package.json dependencies.\n- Increase test coverage.\n\nVersion 0.1.0 (released 2017-05-16)\n\n- Initial public release.\n\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Webpack integration layer for Python.",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/pywebpack"
    },
    "split_keywords": [
        "webpack",
        "npm",
        "node"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68e206f2211768d5d8b7bbf8c1f7b6385d5413dd8140b63b04731a3d28c86542",
                "md5": "f224965e8511149d2813e4083d163542",
                "sha256": "1fdd5f5582eed1bd211bc890b42fffd4f8a90000ec0697f42c5182ce0839f800"
            },
            "downloads": -1,
            "filename": "pywebpack-2.0.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f224965e8511149d2813e4083d163542",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 16709,
            "upload_time": "2024-09-20T13:49:20",
            "upload_time_iso_8601": "2024-09-20T13:49:20.078993Z",
            "url": "https://files.pythonhosted.org/packages/68/e2/06f2211768d5d8b7bbf8c1f7b6385d5413dd8140b63b04731a3d28c86542/pywebpack-2.0.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7d4cc605e4ea2093058d5c35ca15de028e82f4d8524f25242e5874f27069173",
                "md5": "38cf3e27e4419e1378f6624417f106ca",
                "sha256": "abb44d8f20797eb33c00415de523f32beeadd72310839af7b31c65e347d91178"
            },
            "downloads": -1,
            "filename": "pywebpack-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "38cf3e27e4419e1378f6624417f106ca",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 30224,
            "upload_time": "2024-09-20T13:49:21",
            "upload_time_iso_8601": "2024-09-20T13:49:21.301660Z",
            "url": "https://files.pythonhosted.org/packages/f7/d4/cc605e4ea2093058d5c35ca15de028e82f4d8524f25242e5874f27069173/pywebpack-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-20 13:49:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "pywebpack",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pywebpack"
}
        
Elapsed time: 1.20995s