Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Webpack integration layer for Python.

Project description

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


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.

Project details

Download files

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

Files for pywebpack, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pywebpack-1.0.0-py2.py3-none-any.whl (14.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pywebpack-1.0.0.tar.gz (26.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page