Skip to main content

Squisher can take a directory representing a Python package (i.e. a directory with __init__.py and so on) and “squish” it into a single .pyc file that you can import, or run on the command line, just like any other .py/.pyc file.

The hook is that it can be thus imported without necessarily having Squisher itself installed. All you do is run Squisher on a directory (or an existing zip file if you wish), and you get a single file you can import with any normal Python installation.

It is complementary to Eggs in a way. They’re good for having packages globally installed and keeping them up-to-date, but very often you may want the simple convenience of dropping a .pyc in a directory and importing it. Furthermore, since Squished packages are just zip files with a special Python bytecode header (and Eggs are just zipfiles with internal metadata added), you can actually run it on an Egg and get a file that can be used as an Egg or a Squished package just by renaming it.

Metadata

Release files for squisher 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 squisher 0.3
File Size Uploaded Provenance Actions
squisher-0.3.tar.gz 4.5 kB Without provenance Details for squisher-0.3.tar.gz

Release files / squisher-0.3.tar.gz

Download URL squisher-0.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dc1942d547318be4425273fa15f1f7f886cfa1a7461e415b2a9adf4a8354d46b
BLAKE2b-256 checksum
How to use checksums
2c9b0929d4a4d3251cf15b2cc62bf721f8d7df2c6522c20ce088ae7cf692e24a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for squisher 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.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