Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Minify your html pages for Pyramid

Project Description


Binding of the htmlmin library for Pyramid.


pyramid.includes =

# 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


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.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(9.7 kB) Copy SHA256 Hash SHA256
Source Jul 19, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting