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 define what goes in the config, but you can use to let e.g. Webpack know about output paths or dynamic entry points.
Collect bundles: If you 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 runtime which packages are installed.
Changes
Version 0.1.0 (released 2017-05-16)
Initial public release.
Release files for pywebpack 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pywebpack-0.1.0.tar.gz | 22.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pywebpack-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 34.0 kB
Release files / pywebpack-0.1.0.tar.gz
| Download URL | pywebpack-0.1.0.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1048c4476e19ad7ddbf2bf271d0d8dff27be34d0bbd73e9aa0b2a0d642b9da1
|
|
BLAKE2b-256 checksum How to use checksums |
7697342f21dae85b6932b0fbcc71b527878d9ff6f96ee03a7a22ef5030f3911b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pywebpack-0.1.0-py2.py3-none-any.whl
| Download URL | pywebpack-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9703baf88bcce904f0bc813091fe084e0e41f9d178c4b4760f6b3dd9a94fe38a
|
|
BLAKE2b-256 checksum How to use checksums |
bae503d69996160d153324a60142cad1274efd978eb2553d19aa231496eac7e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |