Skip to main content

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

Metadata

Release files for hyde-zipper 0.0.3

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

Source distribution (sdist)

Source distribution for hyde-zipper 0.0.3
File Size Uploaded Provenance
hyde-zipper-0.0.3.tar.gz 1.9 kB Without provenance Details

Release files / hyde-zipper-0.0.3.tar.gz

Download URL hyde-zipper-0.0.3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1c96b6c4e2aae1fd5b032a5ed972405792d7b35283694e4f977318e6ef3d0488
BLAKE2b-256 checksum
How to use checksums
f0c5ec14f1e747e8bc6e32d34009d9c78162453b0e04bcb3bd6186122eab4343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hyde-zipper 0.0.3

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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

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