Skip to main content

PyWebpack

https://github.com/inveniosoftware/pywebpack/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/pywebpack.svg https://img.shields.io/github/tag/inveniosoftware/pywebpack.svg https://img.shields.io/pypi/dm/pywebpack.svg https://img.shields.io/github/license/inveniosoftware/pywebpack.svg

Webpack integration layer for Python.

Using Flask? Check out Flask-WebpackExt.

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, webpack-yam-plugin or 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/

Metadata

Release files for pywebpack 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywebpack 2.4.0
File Size Uploaded
pywebpack-2.4.0.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pywebpack 2.4.0
File Interpreter ABI Platform
pywebpack-2.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.7 kB

Release files / pywebpack-2.4.0.tar.gz

Download URL pywebpack-2.4.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4c863cb95412a14a9eae68a6c3ccb7bf6b5665479f51feda686b0c5ebbe387a0
BLAKE2b-256 checksum
How to use checksums
74853eb6d866cfe5f7da83ce456d8430ff44ea67718de282320209205386f059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pywebpack-2.4.0-py3-none-any.whl

Download URL pywebpack-2.4.0-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3df9615a2e1d0f35e815e85ed48a3975763038be7cf6cd5baf852d2cd1c9675
BLAKE2b-256 checksum
How to use checksums
569ae844ee4c350461b02c75bea174e423c8091bba8f32efb01515d92b6f10d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 release files

2.3.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page