Skip to main content

a module for minify html

Project description

  • Usage:

    from html_minifier.minify import Minifier
    
    minifier = Minifier(html)
    html = minifier.minify()
  • for a reuse is better:

    from html_minifier.minify import Minifier
    
    minifier = Minifier()
    
    for i in range(100):
        minifier.html = html
        html = minifier.minify()

Project details


Download files

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

Source Distribution

html-minifier-0.0.4.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

html_minifier-0.0.4-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file html-minifier-0.0.4.tar.gz.

File metadata

File hashes

Hashes for html-minifier-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f1df2a11f8186e289e1467a2201096bfb6353b7018306ad21b306adfda461727
MD5 c7cb11e5e89d5e50181c21cb59d8d2da
BLAKE2b-256 f09c0c8ae31cd04cfcce1df366c5d062a4135d174b8c6456c0246607e7597905

See more details on using hashes here.

File details

Details for the file html_minifier-0.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for html_minifier-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b79a0deaa555c0497b9cbc99a74923da5b8c63cb642589c33ee1cdfac201e85
MD5 cde0d98fe6c2edc6424e0abd80f5fe63
BLAKE2b-256 462f63800953e8810673261607fd46b19ce452a7bef7efca7f719e40798aac38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page