Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install hyde-zipper

How to install hyde-zipper

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install hyde-zipper
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.3 Available View build log
Windows (64-bit)
0.0.3 Available View build log
Mac OS X (10.5+)
0.0.3 Available View build log
Linux (32-bit)
0.0.3 Available View build log
Linux (64-bit)
0.0.3 Available View build log
 
License
BSD
Dependencies
Imports
Lastest release
version 0.0.3 on Jan 24th, 2011

Hyde Zipper

This module precompresses all plaintext files so that properly configured web servers can serve gzip compressed content without compressing it on every request.

Installation

pip install hyde-zipper

Install Post Processor:

SITE_POST_PROCESSORS = {
    '/': {
        'zipper.site_post_processors.GzipCompress' : {
            'filetypes': ['*html', '*.css', '*.js', '*.xml', '*.txt'],
            'level': 9,
        },
    }
}

Settings

Zipper has 2 settings, filetypes, and level.

filetypes

A list with file extensions to apply precompression too. defaults to

['*html', '*.css', '*.js', '*.xml']
level

An integer 1 through 9 that controls the level of compression. 1 is the fastest, but least amount of compression, and 9 is the slowest, but most amount of compression. defaults to

9

Subscribe to package updates

Last updated Jan 24th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.