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 Provenance Actions
packmodule-1.0.0.tar.gz 1.9 kB Without provenance Details for packmodule-1.0.0.tar.gz

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

Security for packmodule 1.0.0

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

1.0.0 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