🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

pyramid-htmlmin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyramid-htmlmin

Minify your html pages for Pyramid

0.6
PyPI
Maintainers
1

pyramid-htmlmin

Binding of the htmlmin_ library for Pyramid.

.. _htmlmin: https://pypi.python.org/pypi/htmlmin/

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.

Keywords

web pyramid pylons

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts