Pre-process HTML files for production environments. Strip HTML comments.
Project description
htmlpack
The htmlpack module can be used to help preprocess HTML files for production environments. It can be used to strip HTML comments, minify HTML, and more.
usage: python -m htmlpack [-h] [-s] [-v] [-d] path
positional arguments:
path Path to file or folder
optional arguments:
-h, --help show this help message and exit
-s, --strip-comments Whether to strip HTML comments (default: False)
-v, --verbose Verbose output (default: False)
-d, --dry-run Perform a dry run without modifying files (default: False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
htmlpack-0.1.2.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file htmlpack-0.1.2.tar.gz.
File metadata
- Download URL: htmlpack-0.1.2.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e6082b1b2e01dc6f714bbcb28a482aa475da6a121cc23463a7ab0947b04dfe
|
|
| MD5 |
a751291a4a9493d26eab77d93cab637c
|
|
| BLAKE2b-256 |
1e207b2ae6cd0599dc6d33e5fe7e2a169ce7a54ea4b1a412766369c817993a07
|
File details
Details for the file htmlpack-0.1.2-py3-none-any.whl.
File metadata
- Download URL: htmlpack-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e9fd6a2d579b9717fa0b9e84046bd205699a249779f40de3770fc72d692c0fa
|
|
| MD5 |
52c5aad7e0ac2d172dc8b36e59d6b140
|
|
| BLAKE2b-256 |
a2167872d66d2f1688cee8e167c1c52fba21a5d16e77fa2c21065a1713c14b56
|