Skip to main content

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.

Metadata

Release files for packmodule 1.0.0

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

Source distribution (sdist)

Source distribution for packmodule 1.0.0
File Size Uploaded
packmodule-1.0.0.tar.gz 1.9 kB Details

Release files / packmodule-1.0.0.tar.gz

Download URL packmodule-1.0.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
704d7e23d5c9d4dd0376bda04f06bdf35e822457500daac65650d6c6a248b80e
BLAKE2b-256 checksum
How to use checksums
ca26d67c5f01ca7cc08e3d5c812a61ada3c72d07d6a08181aaa6b3607075bf54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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