Skip to main content

pyramid-htmlmin

Binding of the htmlmin library for Pyramid.

Usage:

pyramid.includes =
  pyramid_htmlmin

# uncomment lines to override default settings.

# Send gzipped minifed code when possible (defaults to True)
# pyramid_htmlmin.gzip_if_accepted = True

# the settings here are default value of htmlmin.minify methods,
# provided by htmlmin version 0.1.5
# htmlmin.remove_comments = False
# htmlmin.remove_empty_space = False
# htmlmin.remove_all_empty_space = False
# htmlmin.reduce_empty_attributes = True
# htmlmin.reduce_boolean_attributes = False
# htmlmin.remove_optional_attribute_quotes = True
# htmlmin.keep_pre = False

Changelog

0.6 (2017-07-19)

  • Don’t stick Pyramid to version 1.5

0.5 (2015-06-16)

  • Minified in gzip the response if possible

0.4 (2015-06-30)

  • Minified exceptions renderered pages too

0.3 (2015-01-21)

  • don’t raise when the content type response is not set.

0.2 (2014-10-20)

  • minify options are now configurable via Pyramid settings.

0.1 (2014-10-13)

  • Initial version.

Metadata

Release files for pyramid-htmlmin 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid-htmlmin 0.6
File Size Uploaded Provenance Actions
pyramid-htmlmin-0.6.tar.gz 9.7 kB Without provenance Details for pyramid-htmlmin-0.6.tar.gz

Release files / pyramid-htmlmin-0.6.tar.gz

Download URL pyramid-htmlmin-0.6.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4130fa9f030e4b20f89e86e3c3072fcda9463ed68d10ac5c068bfb1bbb6a5120
BLAKE2b-256 checksum
How to use checksums
0abd03d350169910f45c88354c27c1464e856c08a350747aca0504f3eb797506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyramid-htmlmin 0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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