Skip to main content

Python code packer for CloudFormation

Project description

packmodule

A code packer for Python modules. Designed for use with AWS CloudFormation, which allows embedding Python code up to 4096 bytes in size directly into a template.

Usage

Call packmodule.pack with a string of your module's source code. The function returns your code packed with the best performing of zlib, bz2, lzma, and the identity function. The behavior of your code should not change other than some extra modules being imported.

Project details


Download files

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

Source Distribution

packmodule-1.0.0.tar.gz (1.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page