Skip to main content
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/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywebpack-2.4.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pywebpack-2.4.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file pywebpack-2.4.0.tar.gz.

File metadata

  • Download URL: pywebpack-2.4.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pywebpack-2.4.0.tar.gz
Algorithm Hash digest
SHA256 4c863cb95412a14a9eae68a6c3ccb7bf6b5665479f51feda686b0c5ebbe387a0
MD5 04ed96f785fb84c10f55f51f26f4d220
BLAKE2b-256 74853eb6d866cfe5f7da83ce456d8430ff44ea67718de282320209205386f059

See more details on using hashes here.

File details

Details for the file pywebpack-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: pywebpack-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pywebpack-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3df9615a2e1d0f35e815e85ed48a3975763038be7cf6cd5baf852d2cd1c9675
MD5 133007504abc8ee1de3df29f09a1ebea
BLAKE2b-256 569ae844ee4c350461b02c75bea174e423c8091bba8f32efb01515d92b6f10d0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 files

2.3.0

2 files

2.2.1

2 files

2.2.0

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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