Skip to main content

Python code packer for CloudFormation

Project description


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.


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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page